Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 917 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 917 Bytes

build and push cloudflare-ddns image

Cloudflare DDNS

A kubernetes cronjob that runs a docker-container every 5 minutes to check & update your external ip.

Execute kubernetes cronjob

# 1. Clone the repo
git clone https://github.com/tcousin/cloudflare-ddns.git

# 2. Navigate into it
cd cloudflare-ddns

# 3. Edit the k8s-cronjob.yaml according to "Values for k8s-cronjob.yaml"

# 4. Set Secret
sudo kubectl create -n cloudflare secret generic cloudflare-ddns \
    --from-literal=zone=<domain> \
    --from-literal=subdomain=<subdomain> \
    --from-literal=api-key=<api key>

# 5. Execute the cronjob
kubectl apply -f kube/k8s-cronjob.yaml

Attribution

This project is a fork of oznu/docker-cloudflare-ddns.