Skip to content

Commit

Permalink
Merge pull request #84 from wrenix/patch-1
Browse files Browse the repository at this point in the history
fix(prosody): always reboot annotations / label
  • Loading branch information
spijet authored Aug 31, 2023
2 parents 3744d68 + fe24af6 commit fe5d74b
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 fe5d74b

Please sign in to comment.