Skip to content

Commit 8befa07

Browse files
Checksum for alphaConfig (#122)
* Checksum for alphaConfig This patch adds a checksum to the deployment to trigger a restart of the pods, if the config-alpha changes. Pretty similar to the remaining checksums. Signed-off-by: Sven Haardiek <[email protected]> * Fix version (new version merged before review) Signed-off-by: Sven Haardiek <[email protected]> Co-authored-by: Cédric de Saint Martin <[email protected]>
1 parent 588d01c commit 8befa07

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

helm/oauth2-proxy/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: oauth2-proxy
2-
version: 6.6.0
2+
version: 6.6.1
33
apiVersion: v2
44
appVersion: 7.4.0
55
home: https://oauth2-proxy.github.io/oauth2-proxy/

helm/oauth2-proxy/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ spec:
1818
metadata:
1919
annotations:
2020
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
21+
{{- if .Values.alphaConfig.enabled }}
22+
checksum/alpha-config: {{ include (print $.Template.BasePath "/configmap-alpha.yaml") . | sha256sum }}
23+
{{- end }}
2124
checksum/config-emails: {{ include (print $.Template.BasePath "/configmap-authenticated-emails-file.yaml") . | sha256sum }}
2225
checksum/secret: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
2326
checksum/google-secret: {{ include (print $.Template.BasePath "/google-secret.yaml") . | sha256sum }}

0 commit comments

Comments
 (0)