Skip to content

Commit 9c0cefa

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

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v1
2-
appVersion: "0.2.0"
2+
appVersion: "0.2.1"
33
description: A Helm chart for deploying microservices
44
name: cxcloud-deployment-chart
5-
version: 0.2.0
5+
version: 0.2.1

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)