mirror of
https://gitlab.com/deepcypher/dc-kc.git
synced 2026-01-27 11:12:08 +00:00
587 B
587 B
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