[stable/grafana] trigger re-deployment if envRenderSecret has been changed. (#23052)

Signed-off-by: Jan-Otto Kröpke <joe@adorsys.de>
This commit is contained in:
Jan-Otto Kröpke
2020-07-03 23:38:48 -07:00
committed by GitHub
parent 86cb9979c6
commit 8a4f2dec11
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: grafana
version: 5.3.3
version: 5.3.4
appVersion: 7.0.3
kubeVersion: "^1.8.0-0"
description: The leading tool for querying and visualizing time series and metrics.
+3
View File
@@ -36,6 +36,9 @@ spec:
{{- if and (not .Values.admin.existingSecret) (not .Values.env.GF_SECURITY_ADMIN_PASSWORD__FILE) (not .Values.env.GF_SECURITY_ADMIN_PASSWORD) }}
checksum/secret: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
{{- end }}
{{- if .Values.envRenderSecret }}
checksum/secret-env: {{ include (print $.Template.BasePath "/secret-env.yaml") . | sha256sum }}
{{- end }}
{{- with .Values.podAnnotations }}
{{ toYaml . | indent 8 }}
{{- end }}