diff --git a/config-example.json b/config-example.json index da86e68..2357030 100755 --- a/config-example.json +++ b/config-example.json @@ -1,5 +1,4 @@ { - "purgeUnknownRecords": false, "cloudflare": [ { "authentication": { @@ -18,5 +17,6 @@ } ], "a": true, - "aaaa": true + "aaaa": true, + "purgeUnknownRecords": false } diff --git a/docker-compose.yml b/docker/docker-compose.yml similarity index 100% rename from docker-compose.yml rename to docker/docker-compose.yml diff --git a/examples/k8s/README.md b/examples/k8s/README.md deleted file mode 100644 index f5de8aa..0000000 --- a/examples/k8s/README.md +++ /dev/null @@ -1,30 +0,0 @@ - -Create config File - -``` bash -cp ../../config-example.json config.json -``` - -Edit config.jsonon (vim, nvim, nano... ) -``` bash -${EDITOR} config.json -``` - -Create config file as Secret. - -``` bash -kubectl create secret generic config-cloudflare-ddns --from-file=config.json --dry-run=client -oyaml -n ddns > config-cloudflare-ddns-Secret.yaml -``` - -apply this secret - -``` bash -kubectl apply -f config-cloudflare-ddns-Secret.yaml -rm config.json # recomended Just keep de secret on Kubernetes Cluster -``` - -apply this Deployment - -``` bash -kubectl apply -f cloudflare-ddns-Deployment.yaml -``` diff --git a/examples/k8s/cloudflare-ddns-Deployment.yaml b/k8s/cloudflare-ddns-Deployment.yaml similarity index 100% rename from examples/k8s/cloudflare-ddns-Deployment.yaml rename to k8s/cloudflare-ddns-Deployment.yaml