Skip to content

Commit

Permalink
Evaluate secrets from values for checksum
Browse files Browse the repository at this point in the history
  • Loading branch information
minottic committed Oct 3, 2024
1 parent 075d99c commit 9e1a6f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helm/charts/generic_service/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ spec:
template:
metadata:
annotations:
checksum/config: {{ .Values.configMaps | toJson | sha256sum }}
checksum/secrets: {{ .Values.secrets | toJson | sha256sum }}
checksum/config: {{ tpl (.Values.configMaps | toJson) . | sha256sum }}
checksum/secrets: {{ tpl (.Values.secrets | toJson) . | sha256sum }}
labels:
{{- include "helm_chart.selectorLabels" . | nindent 8 }}
spec:
Expand Down

0 comments on commit 9e1a6f0

Please sign in to comment.