-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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: adding commonAnnotations #4613
Conversation
optional k/v map to add annotations via kustomize
Codecov Report
@@ Coverage Diff @@
## master #4613 +/- ##
==========================================
- Coverage 41.10% 41.05% -0.06%
==========================================
Files 127 127
Lines 17367 17391 +24
==========================================
+ Hits 7139 7140 +1
- Misses 9202 9228 +26
+ Partials 1026 1023 -3
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @igaskin! Change looks good so far, with two small review comments below.
Also, the CLI has an option for adding/modifying commonLabels
, which I feel should be duplicated for commonAnnotations
as well (somewhere here:
argo-cd/cmd/argocd/commands/app.go
Line 821 in 5db8d97
command.Flags().StringArrayVar(&opts.kustomizeCommonLabels, "kustomize-common-label", []string{}, "Set common labels in Kustomize") |
I haven't had a look at the UI yet, does it provide means to add/edit commonLabels
? If yes, maybe we should also give it a go for commonAnnotations :)
also correcting kustomize cli flags to respect multiple options argoproj#4613
It doesn't appear that the UI has a means to add/edit I ran the |
Yes agreed, this could be done in a separate PR. Can you please re-sync your branch with latest master and re-run codegen to resolve conflict in swagger.json? |
84c30c4
to
8d94394
Compare
484d9dc
to
ce86ce6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thank you @igaskin
LGTM
…zation-generators * 'master' of github.com:argoproj/argo-cd: fix: RevisionFormField component crashes in 'refs' API returns no tags (argoproj#4735) docs: add Opensurvey to USERS.md (argoproj#4727) docs: correct parameters usage in CLI (argoproj#4725) fix: Repo-server has silent unmarshalling errors leading to empty applications (argoproj#4423) (argoproj#4708) fix: inject artificial delay between sync waves to better support health assessments (argoproj#4715) fix: exclude files listed under exclusions (argoproj#4686) feat: support resource actions on CRDs that use status subresources (argoproj#4690) feat: Add autocomplete for repo Revisions (argoproj#4645) (argoproj#4713) fix: webhook don't refresh apps pointing to HEAD (argoproj#4717) feat: Add support for ExecProvider cluster auth (argoproj#4600) (argoproj#4710) fix: adding helm values file in New App (argoproj#4635) docs: Instructions on `make verify-kube-connect` step when using k3d (argoproj#4687) feat: Annotation based app paths detection in webhooks (argoproj#4699) fix: adding commonAnnotations for Kustomize (argoproj#4613)
optional k/v map to add annotations via kustomize.
#4603
dont mind me, just copy pasting some code...
Checklist: