Skip to content

Commit ee6e6c3

Browse files
authored
Merge pull request #13 from harness/cds-103262-add-checksum-helm-chart-byoa
fix: [CDS-103262]: Add checksum for agent deployment secrets
2 parents c2fa574 + ba8f35e commit ee6e6c3

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)