Skip to content

Commit

Permalink
fix: reboot annotations (and syntax)
Browse files Browse the repository at this point in the history
  • Loading branch information
wrenix authored and WrenIX committed Aug 10, 2023
1 parent 80f0709 commit c8aef6f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions charts/prosody/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c8aef6f

Please sign in to comment.