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:
parent
497daa5f60
commit
27a3a76513
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ spec:
|
||||||
- host: {{ .host | quote }}
|
- host: {{ .host | quote }}
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
{{- range .paths }}
|
{{- range (.paths | default (list "/")) }}
|
||||||
- path: {{ . }}
|
- path: {{ . }}
|
||||||
backend:
|
backend:
|
||||||
serviceName: {{ $serviceName }}
|
serviceName: {{ $serviceName }}
|
||||||
|
|
Loading…
Reference in a new issue