From 50c741e047f3222b2f61a5276f60eebcbebbe04d Mon Sep 17 00:00:00 2001 From: kfox1111 Date: Thu, 22 Aug 2024 12:08:18 -0700 Subject: [PATCH] Remove extra check that sometimes breaks oidc (#437) Signed-off-by: Kevin Fox --- .../spiffe-oidc-discovery-provider/templates/_helpers.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/spire/charts/spiffe-oidc-discovery-provider/templates/_helpers.tpl b/charts/spire/charts/spiffe-oidc-discovery-provider/templates/_helpers.tpl index 4f0500c..4917a3d 100644 --- a/charts/spire/charts/spiffe-oidc-discovery-provider/templates/_helpers.tpl +++ b/charts/spire/charts/spiffe-oidc-discovery-provider/templates/_helpers.tpl @@ -93,7 +93,7 @@ Create the name of the service account to use {{- end }} {{- define "spiffe-oidc-discovery-provider.tls-enabled" -}} -{{- if and .Values.enabled (or .Values.tls.spire.enabled .Values.tls.externalSecret.enabled .Values.tls.certManager.enabled) }} +{{- if or .Values.tls.spire.enabled .Values.tls.externalSecret.enabled .Values.tls.certManager.enabled }} {{- true }} {{- else }} {{- false }}