cfsync

command module
v0.0.0-...-1316ce2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 1, 2023 License: MIT Imports: 15 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL