Skip to content
Snippets Groups Projects
Verified Commit c594859f authored by Maarten de Waard's avatar Maarten de Waard :angel:
Browse files

remove duplicate key checksum/config by combining them

parent c73fdf8a
No related branches found
Tags 0.2.2
1 merge request!40Resolve "Duplicate key `checksum/config` breaks Flux 2"
Pipeline #9202 passed with stage
in 52 seconds
## [0.2.2] - 2021-09-22
* Remove duplicate key `checksum/config` from template
## [0.2.1] - 2021-09-16
* Allow setting custom labels on pods and statefulset
......
......@@ -27,8 +27,7 @@ spec:
annotations:
# Reload the pod when values-local.yaml changes, so the ansible playbook
# gets re-run.
checksum/config: {{ include (print $.Template.BasePath "/ansible-vars.yaml") . | sha256sum }}
checksum/config: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}
checksum/config: {{ printf "%s%s" (include (print $.Template.BasePath "/ansible-vars.yaml") .) (include (print $.Template.BasePath "/secrets.yaml") .) | sha256sum }}
{{- if .Values.podAnnotations }}
{{- toYaml .Values.podAnnotations | nindent 8 }}
{{- end }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment