feat: Support remotely-managed cloudflare tunnels (#1378)

Co-authored-by: Devin Buhl <onedr0p@users.noreply.github.com>
This commit is contained in:
Jean-François RoyandDevin Buhl authored and GitHub committed 2024-03-25 12:27:51 -04:00
1 parent deb038915a
commit 13f4f99992
4 files changed
+39 -16

No files matched your search

@@ -44,6 +44,11 @@ spec:
secretKeyRef:
name: cloudflared-secret
key: TUNNEL_ID
TUNNEL_TOKEN:
valueFrom:
secretKeyRef:
name: cloudflared-secret
key: TUNNEL_TOKEN
args:
- tunnel
- --config
@@ -5,6 +5,7 @@ metadata:
name: cloudflared-secret
stringData:
TUNNEL_ID: "#{ bootstrap_cloudflare.tunnel.id }#"
TUNNEL_TOKEN: "#{ bootstrap_cloudflare.tunnel.token }#"
credentials.json: |
{
"AccountTag": "#{ bootstrap_cloudflare.tunnel.account_id }#",