Skip to content

Commit

Permalink
Merge pull request #59 from SmartColumbusOS/smrt-711-1
Browse files Browse the repository at this point in the history
update default backend for ingress controller beta-7
  • Loading branch information
EarthAdam authored Nov 16, 2018
2 parents 63b56e5 + e7e2c1b commit 06b10da
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion chart/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@ metadata:
alb.ingress.kubernetes.io/certificate-arn: {{ .Values.ingress.certificateARN }}
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80, "HTTPS": 443}]'
spec:
backend:
serviceName: {{ .Chart.Name }}
servicePort: {{ .Values.service.port }}
rules:
- host: cota.{{ .Values.ingress.dnsZone }}
http:
paths:
- path: /
backend:
serviceName: {{ .Chart.Name }}
servicePort: 80
servicePort: {{ .Values.service.port }}
6 changes: 5 additions & 1 deletion chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ ingress:
subnets: ""
securityGroups: ""
certificateARN: ""
dnsZone: "localhost"
dnsZone: "localhost"
service:
type: NodePort
port: 80
targetPort: 4000

0 comments on commit 06b10da

Please sign in to comment.