feat: Allow custom paths for server ingress (#317)

This commit is contained in:
Mark Haley 2020-04-29 21:45:20 -04:00 committed by GitHub
parent 1135b1ef18
commit 46e08b1fe8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 1 deletions

View file

@ -24,6 +24,13 @@ spec:
- host: {{ . }}
http:
paths:
{{- if $.Values.server.ingress.paths }}
{{- range $.Values.server.ingress.paths }}
- backend:
serviceName: {{ .serviceName }}
servicePort: {{ .servicePort }}
{{- end }}
{{- end }}
- backend:
serviceName: {{ $serviceName }}
servicePort: {{ $servicePort }}