From 9b9ff7e2a900c59f0188b3efe7cb21459c9a8944 Mon Sep 17 00:00:00 2001 From: Detlev Vandaele Date: Tue, 14 Mar 2023 13:29:07 +0100 Subject: [PATCH 1/2] fix: allow literal 0 values in deployment.yaml extraArgs templating Signed-off-by: Detlev Vandaele --- helm/oauth2-proxy/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/oauth2-proxy/templates/deployment.yaml b/helm/oauth2-proxy/templates/deployment.yaml index cdc8ad2f..bc1e31c0 100644 --- a/helm/oauth2-proxy/templates/deployment.yaml +++ b/helm/oauth2-proxy/templates/deployment.yaml @@ -75,7 +75,7 @@ spec: {{- end }} {{- if kindIs "map" .Values.extraArgs }} {{- range $key, $value := .Values.extraArgs }} - {{- if $value }} + {{- if not (kindIs "invalid" $value) }} - --{{ $key }}={{ tpl ($value | toString) $ }} {{- else }} - --{{ $key }} From 6f472f8ba4f4c4a67dbc02d8aa259b669dffbdd1 Mon Sep 17 00:00:00 2001 From: Pierluigi Lenoci Date: Thu, 1 Jun 2023 12:03:58 +0200 Subject: [PATCH 2/2] Update Chart.yaml --- helm/oauth2-proxy/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/oauth2-proxy/Chart.yaml b/helm/oauth2-proxy/Chart.yaml index 8df645f0..343313c3 100644 --- a/helm/oauth2-proxy/Chart.yaml +++ b/helm/oauth2-proxy/Chart.yaml @@ -1,5 +1,5 @@ name: oauth2-proxy -version: 6.10.1 +version: 6.13.0 apiVersion: v2 appVersion: 7.4.0 home: https://oauth2-proxy.github.io/oauth2-proxy/