diff --git a/stable/prometheus-mongodb-exporter/Chart.yaml b/stable/prometheus-mongodb-exporter/Chart.yaml index ef6a9a5b28..58b3e9eaef 100644 --- a/stable/prometheus-mongodb-exporter/Chart.yaml +++ b/stable/prometheus-mongodb-exporter/Chart.yaml @@ -13,4 +13,4 @@ maintainers: name: prometheus-mongodb-exporter sources: - https://github.com/percona/mongodb_exporter -version: 2.2.0 +version: 2.2.1 diff --git a/stable/prometheus-mongodb-exporter/templates/deployment.yaml b/stable/prometheus-mongodb-exporter/templates/deployment.yaml index a150d005df..4a5c15b195 100644 --- a/stable/prometheus-mongodb-exporter/templates/deployment.yaml +++ b/stable/prometheus-mongodb-exporter/templates/deployment.yaml @@ -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 }}