Revert "[ingress] avoid invalid externalIPs when config value is empty" (#959)

Reverts cozystack/cozystack#957. This was already fixed by
https://github.com/cozystack/cozystack/pull/952

(cherry picked from commit 31b110cd39)
Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>
This commit is contained in:
Andrei Kvapil authored and Timofei Larkin committed 2025-05-20 19:13:19 +03:00
1 parent 1297e06f7c
commit 209bddbc83
1 file changed
+1 -1
@@ -34,7 +34,7 @@ spec:
enabled: false
{{- end }}
service:
{{- if and (ne $exposeExternalIPs "") (eq $exposeIngress .Release.Namespace) }}
{{- if and (eq $exposeIngress .Release.Namespace) $exposeExternalIPs }}
externalIPs:
{{- toYaml (splitList "," $exposeExternalIPs) | nindent 12 }}
type: ClusterIP