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

feat(kustomize): support envsubst in commonAnnotations and commonLabels #11345

Merged

Conversation

AndrewChubatiuk
Copy link
Contributor

Replacement for #11333 PR

@codecov
Copy link

codecov bot commented Nov 18, 2022

Codecov Report

Patch coverage: 85.00% and project coverage change: +0.01 🎉

Comparison is base (304a742) 47.98% compared to head (e4872f3) 48.00%.

❗ Current head e4872f3 differs from pull request most recent head 0b62883. Consider uploading reports for the commit 0b62883 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #11345      +/-   ##
==========================================
+ Coverage   47.98%   48.00%   +0.01%     
==========================================
  Files         246      246              
  Lines       42225    42234       +9     
==========================================
+ Hits        20263    20275      +12     
+ Misses      19939    19937       -2     
+ Partials     2023     2022       -1     
Impacted Files Coverage Δ
cmd/argocd/commands/app.go 21.45% <0.00%> (ø)
controller/clusterinfoupdater.go 32.92% <ø> (ø)
pkg/apis/application/v1alpha1/types.go 58.38% <ø> (ø)
util/helm/tags.go 87.50% <ø> (ø)
cmd/argocd/commands/applicationset.go 17.05% <100.00%> (ø)
cmpserver/plugin/plugin.go 80.14% <100.00%> (ø)
util/kustomize/kustomize.go 73.52% <100.00%> (+1.52%) ⬆️

... and 4 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.

@crenshaw-dev crenshaw-dev changed the title support envsubst in kustomize commonAnnotations and commonLabels feat: support envsubst in kustomize commonAnnotations and commonLabels Nov 19, 2022
@AndrewChubatiuk AndrewChubatiuk force-pushed the kustomize-params-envsubst branch 7 times, most recently from 7282890 to 4915d47 Compare November 21, 2022 21:47
@AndrewChubatiuk AndrewChubatiuk force-pushed the kustomize-params-envsubst branch 2 times, most recently from af03c96 to 5589e91 Compare December 3, 2022 12:51
@gxxglyeyez
Copy link

Oren from Komodor, Would love to see this added ❤️

@AndrewChubatiuk AndrewChubatiuk force-pushed the kustomize-params-envsubst branch 2 times, most recently from 5ec1fe5 to 77b4c4b Compare December 13, 2022 11:06
@crenshaw-dev crenshaw-dev added this to the v2.7 milestone Dec 16, 2022
@crenshaw-dev crenshaw-dev changed the title feat: support envsubst in kustomize commonAnnotations and commonLabels feat(kustomize): support envsubst in commonAnnotations and commonLabels Feb 6, 2023
@AndrewChubatiuk AndrewChubatiuk force-pushed the kustomize-params-envsubst branch 2 times, most recently from bbf9274 to 906231d Compare February 14, 2023 12:49
Copy link
Member

@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 for your patience @AndrewChubatiuk! Would you mind documenting the new field here? https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/application.yaml

Andrii Chubatiuk added 2 commits March 11, 2023 00:32
Signed-off-by: Andrii Chubatiuk <andrew.chubatiuk@motional.com>
Signed-off-by: Andrii Chubatiuk <andrew.chubatiuk@motional.com>
@AndrewChubatiuk
Copy link
Contributor Author

Thanks for your patience @AndrewChubatiuk! Would you mind documenting the new field here? https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/application.yaml

Added this new field to application.yaml file

…vsubst

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
…vsubst

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
@crenshaw-dev crenshaw-dev enabled auto-merge (squash) March 22, 2023 18:51
@crenshaw-dev crenshaw-dev merged commit f16b722 into argoproj:master Mar 22, 2023
@AndrewChubatiuk AndrewChubatiuk deleted the kustomize-params-envsubst branch March 22, 2023 20:22
yyzxw pushed a commit to yyzxw/argo-cd that referenced this pull request Aug 9, 2023
…ls (argoproj#11345)

* support envsubst in kustomize commonAnnotations and commonLabels

Signed-off-by: Andrii Chubatiuk <andrew.chubatiuk@motional.com>

* added description for new parameter

Signed-off-by: Andrii Chubatiuk <andrew.chubatiuk@motional.com>

---------

Signed-off-by: Andrii Chubatiuk <andrew.chubatiuk@motional.com>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Co-authored-by: Andrii Chubatiuk <andrew.chubatiuk@motional.com>
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Completed
Development

Successfully merging this pull request may close these issues.

3 participants