feat(deployment): add cron support

This commit is contained in:
2025-11-11 13:54:45 +01:00
parent e708f7b18b
commit 21305f18e2

View File

@@ -1,4 +1,4 @@
{{ - if .Values.cron.enabled }}
{{- if .Values.cron.enabled }}
apiVersion: batch/v1
kind: CronJob
metadata:
@@ -22,4 +22,4 @@ spec:
- "%{http_code}"
- "{{ printf "%s://%s.%s.svc.cluster.local" .Values.cron.scheme .Values.app.name .Release.Namespace | quote }}{{ .Values.cron.endpoint }}"
restartPolicy: OnFailure
{{ - end }}
{{- end }}