correct env vars and labels

This commit is contained in:
2024-01-11 18:12:12 +01:00
parent 4ddeaf6c99
commit 268a9f3a7a
2 changed files with 7 additions and 7 deletions

View File

@@ -4,10 +4,10 @@ metadata:
name: octodns-cronjob
spec:
schedule: "0 */2 * * *"
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 1
jobTemplate:
spec:
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 1
backoffLimit: 1
template:
@@ -32,11 +32,11 @@ spec:
secretKeyRef:
name: cloudflare-api
key: CLOUDFLARE_ACCOUNT_ID
- name: CLOUDFLARE_API_TOKEN
- name: CLOUDFLARE_TOKEN
valueFrom:
secretKeyRef:
name: cloudflare-api
key: CLOUDFLARE_API_TOKEN
key: CLOUDFLARE_TOKEN
- name: CLOUDFLARE_EMAIL
valueFrom:
secretKeyRef: