Skip to content

Commit ba8f35e

Browse files
fix: [CDS-103262]: Add checksum for agent deployment secrets
1 parent c2fa574 commit ba8f35e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

charts/templates/gitops-agent/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ spec:
2727
{{ $key }}: {{ $value | quote }}
2828
{{- end }}
2929
{{- end }}
30+
checksum/secrets: {{ include (print $.Template.BasePath "/gitops-agent/secret.yaml") . | sha256sum }}
3031
labels:
3132
{{- include "harness.agentLabels" (dict "context" . "component" .Values.agent.name "name" .Values.agent.name) | nindent 8 }}
3233
{{- with .Values.agent.podLabels }}

0 commit comments

Comments
 (0)