diff --git a/charts/cloudflared/Chart.yaml b/charts/cloudflared/Chart.yaml index 2dfdc52..4333c89 100644 --- a/charts/cloudflared/Chart.yaml +++ b/charts/cloudflared/Chart.yaml @@ -4,7 +4,7 @@ maintainers: url: https://kubito.dev apiVersion: v2 appVersion: 2025.5.0 -version: 1.7.1 +version: 1.7.2 description: Kubito Cloudflared (Argo Tunnel) Helm Chart home: https://github.com/kubitodev/helm/tree/main/charts/cloudflared icon: https://kubito.dev/images/kubito.svg diff --git a/charts/cloudflared/templates/deployment.yaml b/charts/cloudflared/templates/deployment.yaml index 1b58df9..2e1e61c 100644 --- a/charts/cloudflared/templates/deployment.yaml +++ b/charts/cloudflared/templates/deployment.yaml @@ -17,9 +17,9 @@ spec: {{- if .Values.local.enabled }} annotations: checksum/tunnel-id: {{ sha256sum .Values.local.auth.tunnelID }} - checksum/ingress: {{ .Values.ingress | toJson | sha256sum }} - checksum/auth: {{ .Values.auth | toJson | sha256sum }} - checksum/warp-routing: {{ .Values.warpRouting | toJson | sha256sum }} + checksum/ingress: {{ .Values.local.ingress | toJson | sha256sum }} + checksum/auth: {{ .Values.local.auth | toJson | sha256sum }} + checksum/warp-routing: {{ .Values.local.warpRouting | toJson | sha256sum }} {{- end }} spec: containers: @@ -30,15 +30,15 @@ spec: - --metrics - "0.0.0.0:{{ .Values.metrics.port }}" {{ end }} + {{- if .Values.logLevel }} + - --loglevel + - {{ .Values.logLevel }} + {{- end }} {{- if .Values.local.enabled }} - --config - /etc/cloudflared/config.yaml - run {{- else if .Values.managed.enabled }} - {{- if .Values.logLevel }} - - --loglevel - - {{ .Values.logLevel }} - {{- end }} - run - --token - $(CF_MANAGED_TUNNEL_TOKEN)