mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Add configmap checksums to grafana deploy (#13256)
Will force helm to roll the grafana deployment when a configmap change happens Signed-off-by: Grant Nicholas <grant@spothero.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
535a72d9f0
commit
bc1e0c423f
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: grafana
|
||||
version: 3.3.2
|
||||
version: 3.3.3
|
||||
appVersion: 6.1.4
|
||||
kubeVersion: "^1.8.0-0"
|
||||
description: The leading tool for querying and visualizing time series and metrics.
|
||||
|
||||
@@ -27,8 +27,11 @@ spec:
|
||||
labels:
|
||||
app: {{ template "grafana.name" . }}
|
||||
release: {{ .Release.Name }}
|
||||
{{- with .Values.podAnnotations }}
|
||||
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 }}
|
||||
{{- with .Values.podAnnotations }}
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
|
||||
Reference in New Issue
Block a user