Documentation ¶
Overview ¶
Command cfsync synchronizes Cloudflare A records with ingress hosts using the public IP from ipify. It is useful for local, homelab type k8s setups. Can run as a pod in-cluster or using a a kubeconfig out-of-cluster.
The command requires the following environment variables to function properly:
CF_ROOT_DOMAINS: Cloudflare domains to sync with ingress domains, comma separated CF_API_TOKEN: Cloudflare API token granting Zone read and DNS edit
The command also respects the following env vars:
SYNC_INTERVAL: Interval between Kubernetes-Cloudflare syncs (default: 1m) IP_INTERVAL: Interval between public IP checks (default: 10m)
Click to show internal directories.
Click to hide internal directories.