|
@ -21,6 +21,7 @@ metadata: |
|
|
{{- if contains "nginx" .Values.ingress.class }} |
|
|
{{- if contains "nginx" .Values.ingress.class }} |
|
|
nginx.ingress.kubernetes.io/rewrite-target: "/VirtualHostBase/https/{{ $hostPrefix }}.{{ $hostName }}:443/portal/VirtualHostRoot/$1" |
|
|
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/from-to-www-redirect: "true" |
|
|
|
|
|
nginx.ingress.kubernetes.io/service-upstream: "true" |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
{{- if contains "alb" .Values.ingress.class }} |
|
|
{{- if contains "alb" .Values.ingress.class }} |
|
|
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTPS": 443}]' |
|
|
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTPS": 443}]' |
|
|