[ingress] avoid invalid externalIPs when config value is empty (#957)
Fix regression introduced by https://github.com/cozystack/cozystack/pull/929#discussion_r2090992853 becasue of `splitList "," "" == [""]` Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
This commit is contained in:
commit
0369852035
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ spec:
|
|||
enabled: false
|
||||
{{- end }}
|
||||
service:
|
||||
{{- if and (eq $exposeIngress .Release.Namespace) $exposeExternalIPs }}
|
||||
{{- if and (ne $exposeExternalIPs "") (eq $exposeIngress .Release.Namespace) }}
|
||||
externalIPs:
|
||||
{{- toYaml (splitList "," $exposeExternalIPs) | nindent 12 }}
|
||||
type: ClusterIP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue