Skip to content

Commit

Permalink
Added configmap checksum annotation (#472)
Browse files Browse the repository at this point in the history
* Updated posteeConfig as values not as file

* fix getting values in cm

* Added configmap checksum annotation
  • Loading branch information
grglzrv authored Sep 26, 2022
1 parent 4970234 commit 0e94ae3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deploy/helm/postee/templates/postee.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ spec:
storage: 100Mi
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/cfg-configmap.yaml") . | sha256sum }}
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
Expand Down

0 comments on commit 0e94ae3

Please sign in to comment.