refactor(charts): use checksum annotation instead of relying on reloader

This commit is contained in:
Trong Huu Nguyen
2025-07-04 09:31:56 +02:00
parent fa70c6f878
commit 4e536328cf
4 changed files with 2 additions and 4 deletions

View File

@@ -20,6 +20,7 @@ spec:
prometheus.io/path: /
prometheus.io/port: "8081"
prometheus.io/scrape: "true"
checksum/secret: {{ pick ( include (print $.Template.BasePath "/fa-secret.yaml") . | fromYaml ) "data" | toYaml | sha256sum }}
labels:
aiven: enabled
azure: enabled

View File

@@ -5,8 +5,6 @@ kind: Secret
type: kubernetes.io/Opaque
metadata:
name: "{{ .Values.azure.forwardAuth.ssoServerSecretName }}"
annotations:
reloader.stakater.com/match: "true"
labels:
{{- include "wonderwall.labelsForwardAuth" . | nindent 4 }}
data:

View File

@@ -28,6 +28,7 @@ spec:
prometheus.io/path: /
prometheus.io/port: "8081"
prometheus.io/scrape: "true"
checksum/secret: {{ pick ( include (print $.Template.BasePath "/idporten-secret.yaml") . | fromYaml ) "data" | toYaml | sha256sum }}
labels:
aiven: enabled
idporten: enabled

View File

@@ -5,8 +5,6 @@ kind: Secret
type: kubernetes.io/Opaque
metadata:
name: "{{ .Values.idporten.ssoServerSecretName }}"
annotations:
reloader.stakater.com/match: "true"
labels:
{{- include "wonderwall.labelsIdporten" . | nindent 4 }}
data: