helm: add configmap and secret checksum

Closes #772
This commit is contained in:
Federico Bevione 2021-08-06 12:08:35 +02:00 committed by Rustam Gimadiev
parent 4fc5c40029
commit 6280c921f2

View file

@ -13,10 +13,12 @@ spec:
{{- include "kafka-ui.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
checksum/secret: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
labels:
{{- include "kafka-ui.selectorLabels" . | nindent 8 }}
spec: