fix(argo-rollouts): Fix scope and path to CM for checksum calculation (#3227)

This commit is contained in:
Marco Maurer (-Kilchhofer) 2025-04-01 23:36:53 +02:00 committed by GitHub
parent 216d8bd879
commit bf044b2256
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View file

@ -26,13 +26,13 @@ spec:
revisionHistoryLimit: {{ .Values.global.revisionHistoryLimit }}
template:
metadata:
{{- with (mergeOverwrite (deepCopy .Values.podAnnotations) .Values.controller.podAnnotations) }}
annotations:
{{- with (mergeOverwrite (deepCopy .Values.podAnnotations) .Values.controller.podAnnotations) }}
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
checksum/cm: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
{{- end }}
{{- end }}
checksum/cm: {{ include (print $.Template.BasePath "/controller/configmap.yaml") . | sha256sum }}
labels:
{{- include "argo-rollouts.selectorLabels" . | nindent 8 }}
app.kubernetes.io/component: {{ .Values.controller.component }}