Skip to content

Commit

Permalink
Merge pull request #31 from chrisburr/redeploy-secrets-change
Browse files Browse the repository at this point in the history
Add checksum of secrets to diracx deployment annotations
  • Loading branch information
chaen authored Sep 13, 2023
2 parents 18a02c9 + 4762b59 commit 386e5f8
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 386e5f8

Please sign in to comment.