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 30, 2023
1 parent 3744d68 commit fe24af6
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 := . }}
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:
Expand Down

0 comments on commit fe24af6

Please sign in to comment.