From db139959f86529e8b9f29cd0925369b912ab1b54 Mon Sep 17 00:00:00 2001 From: Sergio Rua Date: Fri, 1 Sep 2023 13:53:57 +0200 Subject: [PATCH] Disable auto-update and permit extra args Signed-off-by: Sergio Rua --- charts/cloudflare-tunnel-remote/Chart.yaml | 2 +- charts/cloudflare-tunnel-remote/templates/deployment.yaml | 3 +++ charts/cloudflare-tunnel-remote/values.yaml | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/charts/cloudflare-tunnel-remote/Chart.yaml b/charts/cloudflare-tunnel-remote/Chart.yaml index 936b560..85c403f 100644 --- a/charts/cloudflare-tunnel-remote/Chart.yaml +++ b/charts/cloudflare-tunnel-remote/Chart.yaml @@ -15,7 +15,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.1.0 +version: 0.1.1 # 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-remote/templates/deployment.yaml b/charts/cloudflare-tunnel-remote/templates/deployment.yaml index 614f2c4..f2c609e 100644 --- a/charts/cloudflare-tunnel-remote/templates/deployment.yaml +++ b/charts/cloudflare-tunnel-remote/templates/deployment.yaml @@ -33,6 +33,9 @@ spec: # The address 0.0.0.0:2000 allows any pod in the namespace. - --metrics - 0.0.0.0:2000 + {{- range .Values.extraArgs }} + - {{ . }} + {{- end }} - run env: - name: TUNNEL_TOKEN diff --git a/charts/cloudflare-tunnel-remote/values.yaml b/charts/cloudflare-tunnel-remote/values.yaml index c2e1565..77a14db 100644 --- a/charts/cloudflare-tunnel-remote/values.yaml +++ b/charts/cloudflare-tunnel-remote/values.yaml @@ -10,6 +10,9 @@ image: # If supplied, this overrides "latest" tag: "" +extraArgs: + - --no-autoupdate + replicaCount: 2 imagePullSecrets: []