Skip to content

Commit

Permalink
fix: use checksum/config annotation in price deployments (#2757)
Browse files Browse the repository at this point in the history
  • Loading branch information
bodymindarts authored Mar 21, 2023
1 parent 03cfc63 commit 84cef13
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion charts/galoy/charts/price/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ spec:
{{- include "price.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/config-secret.yaml") . | sha256sum }}
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
Expand Down
5 changes: 5 additions & 0 deletions charts/galoy/charts/price/templates/history-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ spec:
{{- include "priceHistory.selectorLabels" . | nindent 6 }}
template:
metadata:
annotations:
checksum/config: {{ include (print $.Template.BasePath "/history-config-secret.yaml") . | sha256sum }}
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "priceHistory.selectorLabels" . | nindent 8 }}
kube-monkey/enabled: enabled
Expand Down

0 comments on commit 84cef13

Please sign in to comment.