Skip to content

Commit bbe6321

Browse files
committed
feat(charts): network-exporter: use checksum in deployment to trigger update
1 parent 0685fad commit bbe6321

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

charts/network-exporter/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ apiVersion: v2
22
name: network-exporter
33
description: A Helm chart for network_exporter
44
type: application
5-
version: 0.1.0
5+
version: 0.2.0
66
appVersion: "1.8.0"

charts/network-exporter/templates/deployment.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ spec:
1111
{{- include "network-exporter.selectorLabels" . | nindent 6 }}
1212
template:
1313
metadata:
14-
{{- with .Values.podAnnotations }}
1514
annotations:
15+
checksum/config: {{ include (print .Template.BasePath "/configmap.yaml") . | sha256sum }}
16+
{{- with .Values.podAnnotations }}
1617
{{- toYaml . | nindent 8 }}
1718
{{- end }}
1819
labels:

0 commit comments

Comments
 (0)