[stable/grafana] Add secret hash to podspec so grafana pods redeploy on secret regen (#13427)

* Add secret hash to podspec so grafana pods redeploy on secret regen

Signed-off-by: Lee Cattarin <lecattar@microsoft.com>

* Version bump

Signed-off-by: Lee Cattarin <lecattar@microsoft.com>
This commit is contained in:
Lee Cattarin
2019-04-30 20:38:56 -07:00
committed by Kubernetes Prow Robot
parent f9eb06c0b1
commit 7f2b821b5f
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: grafana
version: 3.3.4
version: 3.3.5
appVersion: 6.1.6
kubeVersion: "^1.8.0-0"
description: The leading tool for querying and visualizing time series and metrics.
+4 -1
View File
@@ -30,7 +30,10 @@ spec:
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
checksum/dashboards-json-config: {{ include (print $.Template.BasePath "/dashboards-json-configmap.yaml") . | sha256sum }}
checksum/sc-dashboard-provider-config: {{ include (print $.Template.BasePath "/configmap-dashboard-provider.yaml") . | sha256sum }}
checksum/sc-dashboard-provider-config: {{ include (print $.Template.BasePath "/configmap-dashboard-provider.yaml") . | sha256sum }}
{{- if not .Values.admin.existingSecret }}
checksum/secret: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
{{- end }}
{{- with .Values.podAnnotations }}
{{ toYaml . | indent 8 }}
{{- end }}