This repository has been archived on 2026-01-04. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
ipv6-k3s/clusters/ipv6/external-dns/cf-cron.yml
aggarwalakshun c03d27a868
All checks were successful
Validate Kubernetes Manifests / kubeconform (pull_request) Successful in 1m2s
add metallb
2026-01-01 02:25:20 +05:30

42 lines
1.0 KiB
YAML

apiVersion: batch/v1
kind: CronJob
metadata:
name: ipv6-dns-updater
namespace: external-dns
spec:
schedule: "*/60 * * * *"
jobTemplate:
spec:
template:
spec:
restartPolicy: OnFailure
nodeSelector:
traefik: "true"
containers:
- name: updater
image: alpine:3.20
command:
- /bin/sh
- -c
- |
apk add --no-cache curl jq &&
sh /mnt/update-ipv6.sh
env:
- name: CF_API_KEY
valueFrom:
secretKeyRef:
name: cloudflare-global-key
key: CF_API_KEY
- name: CF_EMAIL
valueFrom:
secretKeyRef:
name: cloudflare-global-key
key: CF_EMAIL
volumeMounts:
- name: script
mountPath: /mnt
volumes:
- name: script
configMap:
name: ipv6-updater-script