Redeploy pods on config changes. (#16835)

Signed-off-by: Anas Ait Said Oubrahim <anas.oubrahim@commercetools.de>
This commit is contained in:
Anas
2019-09-04 10:49:00 -07:00
committed by Kubernetes Prow Robot
parent 12558adb52
commit e8357d5711
2 changed files with 5 additions and 2 deletions
@@ -13,4 +13,4 @@ maintainers:
name: prometheus-mongodb-exporter
sources:
- https://github.com/percona/mongodb_exporter
version: 2.2.0
version: 2.2.1
@@ -18,7 +18,10 @@ spec:
template:
metadata:
annotations:
{{- toYaml .Values.podAnnotations | nindent 8 }}
checksum/config: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
{{- if .Values.podAnnotations }}
{{- toYaml .Values.podAnnotations | nindent 8 }}
{{- end }}
labels:
app.kubernetes.io/name: {{ include "prometheus-mongodb-exporter.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}