feat(cloudflare): Changed cloudflared command when testing the Chart (#19)

This commit is contained in:
Romain Pluciennik
2024-08-22 19:23:48 +02:00
committed by GitHub
parent 6bd6db84b6
commit e8e34afecf
4 changed files with 12 additions and 5 deletions

View File

@ -34,6 +34,7 @@ controllers:
key: {{ .Values.tunnel.existingSecret.key }}
{{- end }}
args:
{{- if ne .Values.tunnel.token "your-token-here" }}
- tunnel
- --no-autoupdate
{{- if .Values.logLevel }}
@ -47,6 +48,10 @@ controllers:
- run
- --token
- $(TUNNEL_TOKEN)
{{- else }}
- --url
- localhost:8080
{{- end }}
{{- end -}}
{{- $tmplVars := deepCopy . -}}