Update _cronjob.tpl

Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
This commit is contained in:
Kjeld Schouten-Lebbing
2022-11-05 14:03:00 +01:00
committed by GitHub
parent 9b9a80ed0e
commit 1b898b6796
@@ -44,7 +44,7 @@ spec:
secretKeyRef: secretKeyRef:
name: fireflyiii-secrets name: fireflyiii-secrets
key: STATIC_CRON_TOKEN key: STATIC_CRON_TOKEN
image: "{{ .Values.alpineImage.repository }}:{{ .Values.alpineImage.tag }}" image: "{{ .Values.ubuntuImage.repository }}:{{ .Values.ubuntuImage.tag }}"
args: args:
- curl - curl
- "http://{{ $jobName }}.ix-{{ .Release.Name }}.svc.cluster.local:{{ .Values.service.main.ports.main.port }}/api/v1/cron/$(STATIC_CRON_TOKEN)" - "http://{{ $jobName }}.ix-{{ .Release.Name }}.svc.cluster.local:{{ .Values.service.main.ports.main.port }}/api/v1/cron/$(STATIC_CRON_TOKEN)"