-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
feat(argo-cd): Add appHardResyncPeriod option for controller #1320
feat(argo-cd): Add appHardResyncPeriod option for controller #1320
Conversation
2a7d0d6
to
5f02e57
Compare
@pasha-codefresh do you have any concerns about this change. I ask since you did the PR argoproj/argo-cd#8928. Thank you in advance if you take a look. Cheers. |
|
This will be available via |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@jmeridth it looks good to me |
41c3fad
to
1c0a27f
Compare
@pasha-codefresh rebased onto main. Ready to go. I'm also looking at @pdrastil's PR #1267. Don't want to create a regression here. @pdrastil you ok with this possibly merging and removing from your PR as you're going with |
@jmeridth I'm ok with this PR but when mine will go through this method will be deprecated and later removed. Cobra framework always process command line arguments before parsing the env vars. Edit: Plan that I've told @mkilchhofer on Slack is to push most backward compatible changes. Then add config for env vars and then remove everything deprecated in next major version. |
28ae358
to
d6e6d05
Compare
@yu-croco @pdrastil @pasha-codefresh can I please snag some 👀 on this one? @pdrastil asking again, is this worth it if #1267 is close to merge? I don't want to add unnecessary work for that PR if this is just going to be deprecated. Thanks. |
@jmeridth - I will be splitting refactoring / argo-cmd-params today as all minor features / enhancements are in. |
@pdrastil once I see those PRs, I'm comfortable closing this one. @pasha-codefresh are you okay with this? I know this PR complements a change you made to argo-cd. |
@pdrastil so based on this my PR is still "relevant" as this hard resync can be a DEPRECATED option for a bit. I see you're including config.params.timeout.hard.reconcilliation for future usage. I'm willing to close this PR and then create a PR for the deprecated option once yours merges. Or we can merge this and you can add the deprecated option for hard resync to your PR? 🤷 |
Base on this PR upstream argoproj/argo-cd#8928 we can now provide a hard resync value to the ArgoCD Application Controller Signed-off-by: JM <jmeridth@gmail.com>
d6e6d05
to
680a76d
Compare
@jmeridth or we can merge this and I can make it deprecated when the configs.params is merged. Up to you - I'm fine with both ways. |
@yu-croco @mkilchhofer could you please review this? once reviewed we can merge and then @pdrastil can add this flag to his PR (#1267) as a deprecated option. Thank you in advance. |
Base on this PR upstream argoproj/argo-cd#8928 we can
now provide a hard resync value to the ArgoCD Application Controller
Signed-off-by: jmeridth jmeridth@gmail.com
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:
Changes are automatically published when merged to
main
. They are not published on branches.