-
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-rollouts): Added Deployment labels to values.yaml #2590
feat(argo-rollouts): Added Deployment labels to values.yaml #2590
Conversation
@mpeters0n plesse sign your commits to adhere to DCO. Thank you for your contribution |
Signed-off-by: mpeters0n <2matthew.peterson@gmail.com>
7bd6411
to
d1dd1ec
Compare
Signed-off-by: mpeters0n <2matthew.peterson@gmail.com>
@@ -10,6 +10,9 @@ metadata: | |||
name: {{ include "argo-rollouts.fullname" . }} | |||
namespace: {{ .Release.Namespace | quote }} | |||
labels: | |||
{{- range $key, $value := (mergeOverwrite (deepCopy .Values.global.deploymentLabels) .Values.controller.deploymentLabels) }} | |||
{{ $key }}: {{ $value | quote }} | |||
{{- end }} |
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.
I tested this with both .Values.global.deploymentLabels defined and undefined to verify backwards compatibility
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 for your contribution. LGTM.
Signed-off-by: Matthew Peterson <51802441+mpeters0n@users.noreply.github.com>
This seems to be a bug in the GitHub merge conflict editor Signed-off-by: Matthew Peterson <51802441+mpeters0n@users.noreply.github.com>
My company enforces Deployment labels to track team ownership, cost allocations, etc.
Checklist: