-
Notifications
You must be signed in to change notification settings - Fork 753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Updated notifications reconciliation #924
Open
ciiay
wants to merge
20
commits into
argoproj-labs:master
Choose a base branch
from
ciiay:gitops-2857-fix-055-kuttl-parallel-test
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[WIP] Updated notifications reconciliation #924
ciiay
wants to merge
20
commits into
argoproj-labs:master
from
ciiay:gitops-2857-fix-055-kuttl-parallel-test
+488
−201
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ciiay
force-pushed
the
gitops-2857-fix-055-kuttl-parallel-test
branch
from
June 5, 2023 21:43
54f9489
to
a0cc78a
Compare
ciiay
changed the title
Add not found check for notifications sa deletion
[WIP] Add not found check for notifications sa deletion
Jun 6, 2023
ciiay
changed the title
[WIP] Add not found check for notifications sa deletion
Add not found check for notifications sa deletion
Jun 7, 2023
ciiay
changed the title
Add not found check for notifications sa deletion
[WIP] Updated notifications reconciliation
Jun 7, 2023
ciiay
force-pushed
the
gitops-2857-fix-055-kuttl-parallel-test
branch
3 times, most recently
from
June 8, 2023 17:41
0bf612d
to
5cf1951
Compare
Hi @jaideepr97 @iam-veeramalla I have raised a PR #929 to fix the failed 1-014_validate_parallelism_limit test. Please take a look. Thanks! |
1-020_validate_redis_ha_nonha passes on local test run.
@iam-veeramalla Can we trigger this ci checks again? |
Signed-off-by: Yi Cai <[email protected]>
Signed-off-by: Yi Cai <[email protected]>
Signed-off-by: Yi Cai <[email protected]>
Signed-off-by: Yi Cai <[email protected]>
…ent (argoproj-labs#510) (argoproj-labs#919) Signed-off-by: Morty Abzug <[email protected]> Co-authored-by: Morty Abzug <[email protected]> Signed-off-by: Yi Cai <[email protected]>
Signed-off-by: Yi Cai <[email protected]>
Signed-off-by: Yi Cai <[email protected]>
Signed-off-by: Yi Cai <[email protected]>
Signed-off-by: Yi Cai <[email protected]>
…j-labs#825) Signed-off-by: Regina Scott <[email protected]> Signed-off-by: Yi Cai <[email protected]>
…rgoproj-labs#921) Signed-off-by: Morty Abzug <[email protected]> Co-authored-by: Morty Abzug <[email protected]> Signed-off-by: Yi Cai <[email protected]>
Signed-off-by: Yi Cai <[email protected]>
Signed-off-by: Yi Cai <[email protected]>
* Add sharding configuration options for dynamic scaling of application controller --------- Signed-off-by: ishitasequeira <[email protected]> Signed-off-by: Yi Cai <[email protected]>
…bs#926) Signed-off-by: ItsKev <[email protected]> Signed-off-by: Yi Cai <[email protected]>
* upgrade golangci-lint Signed-off-by: Jaideep Rao <[email protected]> * add kuttl test to verify hpa handling behavior Signed-off-by: Jaideep Rao <[email protected]> * fix typo in assert file name Signed-off-by: Jaideep Rao <[email protected]> --------- Signed-off-by: Jaideep Rao <[email protected]> Signed-off-by: Yi Cai <[email protected]>
…abs#935) Signed-off-by: ItsKev <[email protected]> Signed-off-by: Yi Cai <[email protected]>
Signed-off-by: Arthur <[email protected]> Signed-off-by: Yi Cai <[email protected]>
Signed-off-by: Yi Cai <[email protected]>
ciiay
force-pushed
the
gitops-2857-fix-055-kuttl-parallel-test
branch
from
June 20, 2023 21:51
0adaac2
to
1e74381
Compare
…55-kuttl-parallel-test
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Signed off: @ciiay
What type of PR is this?
/kind bug
What does this PR do / why we need it:
For flaky kuttl test 1-055_validate_notification_controller
When notifications controller deployment was getting deleted, it got this error
Major updates for best practice:
cr.Spec.Notifications.Enabled
condition check from each resource reconciliation function into higher-level function,reconcileResources
deleteNotificationsPred
function, so that it's purely for predication ofNotifications.Enabled
value change.Have you updated the necessary documentation?
Which issue(s) this PR fixes:
Fixes #? GITOPS-2857
How to test changes / Special notes to the reviewer:
kuttl test parallel/1-055_validate_notification_controller shouldn't be flaky or fail anymore. This PR works along with gitops-operator PR which adds teststep to wait for notification controller pod to be ready.
Note:
Corresponding test case doesn't need to change. This only adds a not found check before executing deletion of service account. I tried to update the test case, but since it's a race condition issue, deployment and rolebinding instance will always be deleted first before reconcile function deletes the service account.