still crashes, now due to auth

This commit is contained in:
2024-01-11 21:37:29 +01:00
parent c26997ff83
commit 2af279c161
3 changed files with 12 additions and 30 deletions

View File

@@ -3,7 +3,7 @@ kind: CronJob
metadata:
name: octodns-cronjob
spec:
schedule: "0 */2 * * *"
schedule: "0 */6 * * *"
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 1
jobTemplate:
@@ -27,21 +27,21 @@ spec:
- name: octodns
image: octodns
env:
- name: CLOUDFLARE_ACCOUNT_ID
valueFrom:
secretKeyRef:
name: cloudflare-api
key: CLOUDFLARE_ACCOUNT_ID
# - name: CLOUDFLARE_ACCOUNT_ID
# valueFrom:
# secretKeyRef:
# name: cloudflare-api
# key: CLOUDFLARE_ACCOUNT_ID
- name: CLOUDFLARE_TOKEN
valueFrom:
secretKeyRef:
name: cloudflare-api
key: CLOUDFLARE_TOKEN
- name: CLOUDFLARE_EMAIL
valueFrom:
secretKeyRef:
name: cloudflare-api
key: CLOUDFLARE_EMAIL
# - name: CLOUDFLARE_EMAIL
# valueFrom:
# secretKeyRef:
# name: cloudflare-api
# key: CLOUDFLARE_EMAIL
command: ["/bin/sh", "-c"]
args: