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
This commit is contained in:
Andrei Kvapil
2025-05-17 13:32:12 +02:00
committed by GitHub

View File

@@ -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