diff --git a/stack/templates/oidc_proxy.yaml b/stack/templates/oidc_proxy.yaml index c35fc25..1774df2 100644 --- a/stack/templates/oidc_proxy.yaml +++ b/stack/templates/oidc_proxy.yaml @@ -9,7 +9,7 @@ {{- with $values -}} {{ $serviceScope := dict "Chart" $global.Chart "Release" $global.Release "Capabilities" $global.Capabilities "Values" .}} - {{- if .ingress.oidcProtected -}} + {{- if and .ingress.oidcProtected .ingress.enabled -}} {{ range $i, $path := .ingress.paths }} {{- if (eq $path.pathType "Exact") -}} {{- $allOIDCProtectedServces = append