stable/prometheus-cloudwatch-exporter Add shasum of secrets yaml render to annotations (#22906)

* Add shasum of secrets yaml render to annotations

Also added missing changelog entry for previous release.

Signed-off-by: Todd Lyons <todd.lyons@pgi.com>

* Correct prom-cloudwatch-exporter issue number

Signed-off-by: Todd Lyons <todd.lyons@pgi.com>
This commit is contained in:
Todd Lyons
2020-06-23 05:31:40 -07:00
committed by GitHub
parent 84190d37f1
commit 31a5c76ada
3 changed files with 10 additions and 1 deletions
@@ -7,6 +7,14 @@ numbering uses [semantic versioning](http://semver.org).
NOTE: The change log until version 0.4.10 is auto generated based on git commits. Those include a reference to the git commit to be able to get more details.
## 0.8.1
Add secrets checksum annotation to deployment (#22449)
## 0.8.0
Create ServiceAccount for deployment
## 0.7.0
PrometheusRule support added to chart.
@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "0.8.0"
description: A Helm chart for prometheus cloudwatch-exporter
name: prometheus-cloudwatch-exporter
version: 0.8.0
version: 0.8.1
home: https://github.com/prometheus/cloudwatch_exporter
sources:
- https://github.com/prometheus/cloudwatch_exporter
@@ -21,6 +21,7 @@ spec:
annotations:
{{ if .Values.aws.role}}iam.amazonaws.com/role: {{ .Values.aws.role }}{{ end }}
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
checksum/secrets: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}
spec:
containers:
- name: {{ .Chart.Name }}