feat(argo-rollouts): Add podLabels at the controller & dashboard level (#2678)

This commit is contained in:
mitchell amihod 2024-05-05 20:24:13 -04:00 committed by GitHub
parent 35bc505bec
commit 0882bfcbd6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 10 additions and 4 deletions

View file

@ -34,7 +34,7 @@ spec:
labels:
{{- include "argo-rollouts.selectorLabels" . | nindent 8 }}
app.kubernetes.io/component: {{ .Values.controller.component }}
{{- range $key, $value := .Values.podLabels }}
{{- range $key, $value := (mergeOverwrite (deepCopy .Values.podLabels) .Values.controller.podLabels) }}
{{ $key }}: {{ $value | quote }}
{{- end }}
spec: