diff --git a/charts/cloudflare-tunnel/Chart.yaml b/charts/cloudflare-tunnel/Chart.yaml index ac2ab2f..e9ea32a 100644 --- a/charts/cloudflare-tunnel/Chart.yaml +++ b/charts/cloudflare-tunnel/Chart.yaml @@ -10,7 +10,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.3.2 +version: 0.3.3 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/cloudflare-tunnel/templates/deployment.yaml b/charts/cloudflare-tunnel/templates/deployment.yaml index 7b50786..e2856cb 100644 --- a/charts/cloudflare-tunnel/templates/deployment.yaml +++ b/charts/cloudflare-tunnel/templates/deployment.yaml @@ -39,6 +39,9 @@ spec: {{- toYaml .Values.securityContext | nindent 12 }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} + env: + - name: TUNNEL_LOGLEVEL + value: "{{ .Values.logLevel }}" args: - tunnel # Points cloudflared to the config file, which configures what diff --git a/charts/cloudflare-tunnel/values.yaml b/charts/cloudflare-tunnel/values.yaml index c6d0e02..b781782 100644 --- a/charts/cloudflare-tunnel/values.yaml +++ b/charts/cloudflare-tunnel/values.yaml @@ -26,6 +26,9 @@ cloudflare: # - hostname: hello.example.com # service: hello_world +# https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/configure-tunnels/cloudflared-parameters/run-parameters/#loglevel +logLevel: info + image: repository: cloudflare/cloudflared pullPolicy: IfNotPresent