[stable/kibana] use checksum/config annotation to restart pod if configuration changed. (#8374)

* [stable/kibana] use checksum/config annotation to restart pod if configuration changed.

Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>

* [stable/kibana] Outdent if.

Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
This commit is contained in:
Cédric de Saint Martin
2018-10-19 09:49:54 -07:00
committed by k8s-ci-robot
parent d719fd92d0
commit cf5ff8da11
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: kibana
version: 0.16.2
version: 0.16.3
appVersion: 6.4.2
description: Kibana is an open source data visualization plugin for Elasticsearch
icon: https://raw.githubusercontent.com/elastic/kibana/master/src/ui/public/icons/kibana-color.svg
+4 -3
View File
@@ -12,10 +12,11 @@ spec:
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
template:
metadata:
{{- if .Values.podAnnotations }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
{{- if .Values.podAnnotations }}
{{ toYaml .Values.podAnnotations | indent 8 }}
{{- end }}
{{- end }}
labels:
app: {{ template "kibana.name" . }}
release: "{{ .Release.Name }}"
@@ -143,7 +144,7 @@ spec:
{{- if .Values.plugins}}
- name: plugins
mountPath: /usr/share/kibana/plugins
{{- end }}
{{- end }}
{{- with .Values.extraContainers }}
{{ tpl . $ | indent 6 }}
{{- end }}