This repository has been archived on 2025-12-03. You can view files and clone it, but cannot push or open issues or pull requests.
2021-07-15 16:14:23 -05:00

30 lines
550 B
Markdown

Create config File
```
cp ../../config-example.json config-cloudflare-ddns-secret.js
```
Edit config.json (vim, nvim, nano... )
```
${EDITOR} config-cloudflare-ddns-secret.js
```
Create config file as Secret.
```
kubectl create secret generic config-cloudflare-ddns --from-file=config-cloudflare-ddns-secret.js --dry-run=client -oyaml -n ddns > config-cloudflare-ddns-Secret.yaml
```
apply this secret
```
kubectl apply -f config-cloudflare-ddns-Secret.yaml
```
apply this Deployment
```
kubectl apply -f cloudflare-ddns-Deployment.yaml
```