Skip to content

Commit

Permalink
Redeploy pods on config changes. (helm#16835)
Browse files Browse the repository at this point in the history
Signed-off-by: Anas Ait Said Oubrahim <anas.oubrahim@commercetools.de>
  • Loading branch information
anas-aso authored and k8s-ci-robot committed Sep 4, 2019
1 parent 12558ad commit e8357d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stable/prometheus-mongodb-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ maintainers:
name: prometheus-mongodb-exporter
sources:
- https://github.com/percona/mongodb_exporter
version: 2.2.0
version: 2.2.1
5 changes: 4 additions & 1 deletion stable/prometheus-mongodb-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit e8357d5

Please sign in to comment.