Files
dc-kc/charts/cloudflared
2023-11-29 22:01:38 +00:00
..
2023-11-28 22:07:09 +00:00
2023-11-28 22:07:09 +00:00
2023-11-28 22:23:06 +00:00
2023-11-29 22:01:38 +00:00

Cloudflared

steps to reproduce secret

cloudflared tunnel login

cloudflared tunnel create example-tunnel

kubectl create secret generic tunnel-credentials --from-file=credentials.json=/home/archer/.cloudflared/xxxxxxxxxxxxxx.json -n cloudflared --dry-run -o yaml > cloudflared.unsealed.yaml

cloudflared tunnel route dns example-tunnel tunnel.example.com

steps to encrypt

cat charts/cloudflared/templates/cloudflared.unsealed.yaml | kubeseal --cert public.cert -o yaml > charts/cloudflared/templates/cloudflared.sealed.yaml

git commit and off you go