mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[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:
committed by
k8s-ci-robot
parent
d719fd92d0
commit
cf5ff8da11
@@ -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
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user