Skip to content

Commit

Permalink
Add checksum of secrets to diracx deployment annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisburr committed Sep 12, 2023
1 parent 1225adb commit 4762b59
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions diracx/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ spec:
{{- include "diracx.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
checksum/settings: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}
labels:
{{- include "diracx.selectorLabels" . | nindent 8 }}
spec:
Expand Down

0 comments on commit 4762b59

Please sign in to comment.