Skip to content

Commit afc4895

Browse files
committed
Fixed ingress for v1
1 parent 9dfdc3b commit afc4895

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

templates/alb-ingress.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,20 @@ spec:
4848
paths:
4949
{{- if .Values.awsLbController.redirectToHTTPSPort }}
5050
- path: /*
51+
pathType: Prefix
5152
backend:
52-
serviceName: redirect-to-https
53-
servicePort: use-annotation
53+
service:
54+
name: redirect-to-https
55+
port:
56+
name: use-annotation
5457
{{- end }}
5558
- path: {{ .Values.awsLbController.path }}
59+
pathType: Prefix
5660
backend:
57-
serviceName: {{ $name }}
58-
servicePort: {{ .Values.service.ports.http.port }}
61+
service:
62+
name: {{ $name }}
63+
port:
64+
number: {{ .Values.service.ports.http.port }}
5965
{{- if .Values.awsLbController.host }}
6066
host: {{ .Values.awsLbController.host | quote }}
6167
{{- end }}

0 commit comments

Comments
 (0)