Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a configmap checksum to the helm chart deployment #104

Merged
merged 2 commits into from
Feb 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions dist/charts/index.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
apiVersion: v1
entries:
ping-exporter:
- apiVersion: v2
appVersion: 1.1.0
created: "2024-02-28T11:45:46.282974652Z"
description: Prometheus exporter for ICMP echo requests
digest: b564d6150c79691c63189498cd7c117b3ece8ac8e33ee607f37354b4cfe128f9
name: ping-exporter
type: application
urls:
- ping-exporter-1.1.0.tgz
version: 1.1.0
- apiVersion: v2
appVersion: 0.4.8
created: "2021-12-10T02:34:57.075817897-08:00"
created: "2024-02-28T11:45:46.282481775Z"
description: Prometheus exporter for ICMP echo requests
digest: da2883ea8479fe47c43211a1c5af7aac0bd608f13b73aa4196557185db1601d2
digest: e2dd5d6b44761c50dfbeff7721526778992d8ba0b9314af64c883cb6dab1d058
name: ping-exporter
type: application
urls:
- ping-exporter-1.0.0.tgz
version: 1.0.0
generated: "2021-12-10T02:34:57.071949419-08:00"
generated: "2024-02-28T11:45:46.281597437Z"
Binary file added dist/charts/ping-exporter-1.1.0.tgz
Binary file not shown.
3 changes: 2 additions & 1 deletion dist/charts/ping-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ spec:
{{- include "ping_exporter.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
Expand Down
Loading