Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(oxauth-key-rotation): add schedule property #654

Merged
merged 4 commits into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ metadata:
{{ toYaml .Values.additionalAnnotations | indent 4 }}
{{- end }}
spec:
{{- if ne .Values.cronJobSchedule "" }}
schedule: {{ .Values.cronJobSchedule | quote }}
{{- else }}
schedule: "@every {{ .Values.keysLife }}h"
{{- end }}
concurrencyPolicy: Forbid
jobTemplate:
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ image:
tag: 4.5.5-1
# -- Image Pull Secrets
pullSecrets: [ ]
# -- Auth server key rotation keys life in hours
# -- Auth server key rotation job schedule.
cronJobSchedule: ""
# -- Auth server key rotation keys life in hours. Used only if cronJobSchedule is not set.
keysLife: 48
# -- Set key selection strategy used by Auth server
keysStrategy: NEWER
Expand Down
4 changes: 3 additions & 1 deletion pygluu/kubernetes/templates/helm/gluu/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2120,7 +2120,9 @@ oxauth-key-rotation:
tag: 4.5.5-1
# -- Image Pull Secrets
pullSecrets: [ ]
# -- Auth server key rotation keys life in hours
# -- Auth server key rotation job schedule.
cronJobSchedule: ""
# -- Auth server key rotation keys life in hours. Used only if cronJobSchedule is not set.
keysLife: 48
# -- Set key selection strategy used by Auth server
keysStrategy: NEWER
Expand Down
Loading