FIX confi filename on Docs
This commit is contained in:
parent
96527aaab2
commit
5136c925d2
@ -2,25 +2,25 @@
|
||||
Create config File
|
||||
|
||||
``` bash
|
||||
cp ../../config-example.json config.js
|
||||
cp ../../config-example.json config.json
|
||||
```
|
||||
|
||||
Edit config.json (vim, nvim, nano... )
|
||||
Edit config.jsonon (vim, nvim, nano... )
|
||||
``` bash
|
||||
${EDITOR} config.js
|
||||
${EDITOR} config.json
|
||||
```
|
||||
|
||||
Create config file as Secret.
|
||||
|
||||
``` bash
|
||||
kubectl create secret generic config-cloudflare-ddns --from-file=config.js --dry-run=client -oyaml -n ddns > config-cloudflare-ddns-Secret.yaml
|
||||
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.js # recomended Just keep de secret on Kubernetes Cluster
|
||||
rm config.json # recomended Just keep de secret on Kubernetes Cluster
|
||||
```
|
||||
|
||||
apply this Deployment
|
||||
|
||||
Reference in New Issue
Block a user