From aafbb90052100d4aa3e51a08837c5ac9c1409e1d Mon Sep 17 00:00:00 2001 From: Fabio Rauber Date: Fri, 6 Aug 2021 11:12:46 -0300 Subject: [PATCH] Fix issue with ingress when not using vhostmonster --- charts/portalmodelo/v0.5.0/templates/ingress.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/portalmodelo/v0.5.0/templates/ingress.yaml b/charts/portalmodelo/v0.5.0/templates/ingress.yaml index 40028bb..d690920 100644 --- a/charts/portalmodelo/v0.5.0/templates/ingress.yaml +++ b/charts/portalmodelo/v0.5.0/templates/ingress.yaml @@ -65,7 +65,7 @@ spec: serviceName: ssl-redirect servicePort: use-annotation {{- end }} - {{- if contains "nginx" .Values.ingress.class }} + {{- if and (contains "nginx" .Values.ingress.class) (.Values.ingress.vhostmonster) }} - path: /(.*) {{- else }} - path: /*