Skip to content

Commit

Permalink
Move backend secret checksum to annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
garryod committed Jan 9, 2025
1 parent 7349987 commit 6bf3442
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion charts/backend/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ spec:
{{- include "common.labels.matchLabels" $ | nindent 6 }}
template:
metadata:
annotations:
checksum/secrets: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}
labels:
{{- include "common.labels.standard" $ | nindent 8 }}
checksum/secrets: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}
spec:
{{- if .Values.serviceAccount.create }}
serviceAccountName: {{ include "common.names.fullname" $ }}
Expand Down

0 comments on commit 6bf3442

Please sign in to comment.