Skip to content

Commit

Permalink
Fixed ingress for v1
Browse files Browse the repository at this point in the history
  • Loading branch information
mikariekkinen committed Mar 1, 2023
1 parent 9dfdc3b commit 9c0cefa
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v1
appVersion: "0.2.0"
appVersion: "0.2.1"
description: A Helm chart for deploying microservices
name: cxcloud-deployment-chart
version: 0.2.0
version: 0.2.1
14 changes: 10 additions & 4 deletions templates/alb-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,20 @@ spec:
paths:
{{- if .Values.awsLbController.redirectToHTTPSPort }}
- path: /*
pathType: Prefix
backend:
serviceName: redirect-to-https
servicePort: use-annotation
service:
name: redirect-to-https
port:
name: use-annotation
{{- end }}
- path: {{ .Values.awsLbController.path }}
pathType: Prefix
backend:
serviceName: {{ $name }}
servicePort: {{ .Values.service.ports.http.port }}
service:
name: {{ $name }}
port:
number: {{ .Values.service.ports.http.port }}
{{- if .Values.awsLbController.host }}
host: {{ .Values.awsLbController.host | quote }}
{{- end }}
Expand Down

0 comments on commit 9c0cefa

Please sign in to comment.