From fe24af67ff7020dbf01f7df88841dd87f93b5d73 Mon Sep 17 00:00:00 2001 From: WrenIX <133280015+wrenix@users.noreply.github.com> Date: Tue, 1 Aug 2023 23:07:44 +0200 Subject: [PATCH] fix: reboot annotations (and syntax) --- charts/prosody/templates/statefulset.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/charts/prosody/templates/statefulset.yaml b/charts/prosody/templates/statefulset.yaml index b15ffee..063c9fd 100644 --- a/charts/prosody/templates/statefulset.yaml +++ b/charts/prosody/templates/statefulset.yaml @@ -21,13 +21,12 @@ spec: {{- range $label, $value := mergeOverwrite .Values.global.podLabels .Values.podLabels }} {{ $label }}: {{ $value }} {{- end }} - si.jit.meet/secret-timestamp: {{ now | date "20060102T150405" }} - {{- with mergeOverwrite .Values.global.podAnnotations .Values.podAnnotations }} annotations: - {{- range $annotation, $value := . }} + si.jit.meet/hash-secret: "{{ toYaml .Values.secretEnvs | sha256sum | trunc 32 }}" + si.jit.meet/hash-configmap: "{{ toYaml .Values.env | sha256sum | trunc 32 }}" + {{- range $annotation, $value := mergeOverwrite .Values.global.podAnnotations .Values.podAnnotations }} {{ $annotation }}: {{ $value }} {{- end }} - {{- end }} spec: {{- with .Values.imagePullSecrets }} imagePullSecrets: