Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions charts/dploy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,15 @@ spec:
{{- include "dploy.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
# Roll the pod whenever the Secret changes. dploy reads OIDC_CLIENT_SECRET
# (and the JWKS/issuer values) as env vars, injected once at container
# start, so a Helm-updated Secret is otherwise ignored until a manual
# restart — e.g. rotating the OIDC client_secret breaks SSO silently.
checksum/secret: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
labels:
{{- include "dploy.selectorLabels" . | nindent 8 }}
spec:
Expand Down
Loading