-
Notifications
You must be signed in to change notification settings - Fork 5k
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: support 'helm.sh/resource-policy: keep' helm annotation #13157
Conversation
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #13157 +/- ##
==========================================
- Coverage 49.05% 49.03% -0.03%
==========================================
Files 246 247 +1
Lines 42569 42694 +125
==========================================
+ Hits 20882 20933 +51
- Misses 19572 19645 +73
- Partials 2115 2116 +1
... and 10 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. |
This will need to be listed as a v2.8 (or 2.7 if we intend to include in v2.7 release) breaking change since we now keep resources where we didn't. |
Oops, sorry. Clicked "Closed" instead of "Comment" |
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
Thank you @jessesuen ! Updated upgrade instructions |
/cherry-pick release-2.7 |
* feat: support 'helm.sh/resource-policy: keep' helm annotation Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * document annotation Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> --------- Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
…oj#13157) * feat: support 'helm.sh/resource-policy: keep' helm annotation Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * document annotation Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> --------- Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> Signed-off-by: schakrad <58915923+schakrad@users.noreply.github.com>
…oj#13157) * feat: support 'helm.sh/resource-policy: keep' helm annotation Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * document annotation Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> --------- Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
The v2.7 introduced
argocd.argoproj.io/sync-options: Delete=false
that prevents resource deletion. This PR expands the feature and supportshelm.sh/resource-policy: keep
annotation as well.Since Argo CD in general is trying to support helm hooks, so it makes sense to support
helm.sh/resource-policy: keep
as well.