diff --git a/charts/prosody/templates/statefulset.yaml b/charts/prosody/templates/statefulset.yaml index b15ffee..cd945d3 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 := . }} + hash-secret: "{{ toYaml .Values.secretEnvs | sha256sum | trunc 32 }}" + 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: