fix(templates/server): ingress has default paths of / (#224)

* fix(templates/server): ingress has default paths of /

* fix: array -> list

It's been awhile since I wrote Helm templates :/
This commit is contained in:
Jared Allard 2020-04-09 09:48:42 -07:00 committed by GitHub
parent 497daa5f60
commit 27a3a76513
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@ spec:
- host: {{ .host | quote }}
http:
paths:
{{- range .paths }}
{{- range (.paths | default (list "/")) }}
- path: {{ . }}
backend:
serviceName: {{ $serviceName }}