From 560e070f5f6bd5cc466d168a8f6d69e25bda30b8 Mon Sep 17 00:00:00 2001 From: Fabio Rauber Date: Mon, 28 Jun 2021 10:42:46 -0300 Subject: [PATCH] Send requests to portal ClusterIP service --- charts/portalmodelo/v0.5.0/templates/ingress.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/charts/portalmodelo/v0.5.0/templates/ingress.yaml b/charts/portalmodelo/v0.5.0/templates/ingress.yaml index 0484d40..6f34453 100644 --- a/charts/portalmodelo/v0.5.0/templates/ingress.yaml +++ b/charts/portalmodelo/v0.5.0/templates/ingress.yaml @@ -21,6 +21,7 @@ metadata: {{- if contains "nginx" .Values.ingress.class }} nginx.ingress.kubernetes.io/rewrite-target: "/VirtualHostBase/https/{{ $hostPrefix }}.{{ $hostName }}:443/portal/VirtualHostRoot/$1" nginx.ingress.kubernetes.io/from-to-www-redirect: "true" + nginx.ingress.kubernetes.io/service-upstream: "true" {{- end }} {{- if contains "alb" .Values.ingress.class }} alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTPS": 443}]'