cloudflare / argo-tunnel-examples

216 stars 79 forks source link

indicate credentials file name needs to change #11

Closed acrogenesis closed 3 years ago

acrogenesis commented 3 years ago

Added an indication on where the config.yaml needs to be changed so cloudflared can find the credentials Fixes #10

adamchalmers commented 3 years ago

How are you creating the secret? The comment in config.yaml indicates you should use

kubectl create secret generic tunnel-credentials --from-file=credentials.json=/Users/yourusername/.cloudflared/<tunnel ID>.json

which will create the secret with one item named credentials.json taken from the credentials file at the example path.

acrogenesis commented 3 years ago

Interesting somehow I missed credentials.json=. It makes more sense now.

kubectl create secret generic tunnel-credentials --from-file=credentials.json=/Users/yourusername/.cloudflared/.json

Thanks