Browse Source

Send requests to portal ClusterIP service

master
Fábio Kaiser Rauber 4 years ago
parent
commit
560e070f5f
  1. 1
      charts/portalmodelo/v0.5.0/templates/ingress.yaml

1
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}]'

Loading…
Cancel
Save