Skip to content
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

fix: trigger ApplicationSet reconciliation for clusters matching cluster generators in matrix or merge generators #12543

Conversation

alexandrevilain
Copy link
Contributor

@alexandrevilain alexandrevilain commented Feb 20, 2023

This PR fixes #12542

Note on DCO:

If the DCO action in the integration test fails, one or more of your commits are not signed off. Please click on the Details link next to the DCO action for instructions on how to resolve this.

Checklist:

  • Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this does not need to be in the release notes.
  • The title of the PR states what changed and the related issues number (used for the release note).
  • I've included "Closes [ISSUE #]" or "Fixes [ISSUE #]" in the description to automatically close the associated issue.
  • I've updated both the CLI and UI to expose my feature, or I plan to submit a second PR with them.
  • Does this PR require documentation updates?
  • I've updated documentation as required by this PR.
  • Optional. My organization is added to USERS.md.
  • I have signed off all my commits as required by DCO
  • I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
  • My build is green (troubleshooting builds).

@alexandrevilain alexandrevilain force-pushed the fix/applicationset-clusterSecretEventHandler branch from 3b73f63 to a1db431 Compare February 20, 2023 13:27
@alexandrevilain alexandrevilain changed the title Fix AppSet to trigger reconciliation for clusters matching cluster generators in matrix or merge generators fix: Trigger ApplicationSet reconciliation for clusters matching cluster generators in matrix or merge generators Feb 20, 2023
@alexandrevilain alexandrevilain force-pushed the fix/applicationset-clusterSecretEventHandler branch from a1db431 to 810da35 Compare February 20, 2023 13:29
@alexandrevilain alexandrevilain changed the title fix: Trigger ApplicationSet reconciliation for clusters matching cluster generators in matrix or merge generators fix: trigger ApplicationSet reconciliation for clusters matching cluster generators in matrix or merge generators Feb 20, 2023
@alexandrevilain alexandrevilain changed the title fix: trigger ApplicationSet reconciliation for clusters matching cluster generators in matrix or merge generators fix: trigger ApplicationSet reconciliation for clusters matching cluster generators in matrix or merge generators Feb 20, 2023
@alexandrevilain alexandrevilain force-pushed the fix/applicationset-clusterSecretEventHandler branch from d4bbd62 to f7ee3c1 Compare March 6, 2023 16:10
@codecov
Copy link

codecov bot commented Mar 6, 2023

Codecov Report

Patch coverage: 56.36% and no project coverage change.

Comparison is base (445de54) 47.97% compared to head (028e33c) 47.97%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #12543   +/-   ##
=======================================
  Coverage   47.97%   47.97%           
=======================================
  Files         246      246           
  Lines       42101    42155   +54     
=======================================
+ Hits        20197    20224   +27     
- Misses      19890    19912   +22     
- Partials     2014     2019    +5     
Impacted Files Coverage Δ
applicationset/controllers/clustereventhandler.go 61.29% <56.36%> (-7.95%) ⬇️

... and 2 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@alexandrevilain alexandrevilain force-pushed the fix/applicationset-clusterSecretEventHandler branch from f7ee3c1 to dac1e6d Compare March 17, 2023 14:39
@alexandrevilain alexandrevilain force-pushed the fix/applicationset-clusterSecretEventHandler branch 2 times, most recently from b8ac307 to 4035c28 Compare March 17, 2023 17:11
@alexandrevilain
Copy link
Contributor Author

Hi @crenshaw-dev !
Thanks for the review! All comments have been addressed.

…ter generators in matrix or merge generators

Signed-off-by: alexandre.vilain <alexandre.vilain@corp.ovh.com>
@alexandrevilain alexandrevilain force-pushed the fix/applicationset-clusterSecretEventHandler branch from 4035c28 to 028e33c Compare March 20, 2023 08:21
@crenshaw-dev
Copy link
Collaborator

/cherry-pick release-2.5

@crenshaw-dev
Copy link
Collaborator

/cherry-pick release-2.6

Copy link
Collaborator

@crenshaw-dev crenshaw-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @alexandrevilain!

@crenshaw-dev crenshaw-dev merged commit 21ce221 into argoproj:master Mar 24, 2023
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Mar 24, 2023
…ter generators in matrix or merge generators (#12543)

Signed-off-by: alexandre.vilain <alexandre.vilain@corp.ovh.com>
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Mar 24, 2023
…ter generators in matrix or merge generators (#12543)

Signed-off-by: alexandre.vilain <alexandre.vilain@corp.ovh.com>
crenshaw-dev pushed a commit that referenced this pull request Mar 24, 2023
…ter generators in matrix or merge generators (#12543) (#12990)

Signed-off-by: alexandre.vilain <alexandre.vilain@corp.ovh.com>
Co-authored-by: Alexandre Vilain <alexandrevilain@users.noreply.github.com>
crenshaw-dev pushed a commit that referenced this pull request Mar 24, 2023
…ter generators in matrix or merge generators (#12543) (#12991)

Signed-off-by: alexandre.vilain <alexandre.vilain@corp.ovh.com>
Co-authored-by: Alexandre Vilain <alexandrevilain@users.noreply.github.com>
yyzxw pushed a commit to yyzxw/argo-cd that referenced this pull request Aug 9, 2023
…ter generators in matrix or merge generators (argoproj#12543)

Signed-off-by: alexandre.vilain <alexandre.vilain@corp.ovh.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No ApplicationSet reconciliation triggered for cluster generators in matrix and merge generators
2 participants