Skip to content

Commit

Permalink
fix: [CDS-103262]: Add checksum for agent deployment secrets (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
abosii-harness authored Nov 13, 2024
1 parent bddfc24 commit f6a25be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: gitops-helm
description: A Helm chart for Harness GitOps Agent - for more information, please visit https://developer.harness.io/docs/category/gitops.
version: 1.1.11
version: 1.1.12
dependencies:
- name: argo-cd
version: 6.7.18
Expand Down
1 change: 1 addition & 0 deletions charts/templates/gitops-agent/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ spec:
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
checksum/secrets: {{ include (print $.Template.BasePath "/gitops-agent/secret.yaml") . | sha256sum }}
labels:
{{- include "harness.agentLabels" (dict "context" . "component" .Values.agent.name "name" .Values.agent.name) | nindent 8 }}
{{- with .Values.agent.podLabels }}
Expand Down

0 comments on commit f6a25be

Please sign in to comment.