From 209bddbc832ba2bc112ca0a50c793d02baabd55c Mon Sep 17 00:00:00 2001 From: Andrei Kvapil Date: Sat, 17 May 2025 13:32:12 +0200 Subject: [PATCH] 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 31b110cd39eabd6cf47381f4b487620ffffce50f) Signed-off-by: Timofei Larkin --- packages/extra/ingress/templates/nginx-ingress.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/extra/ingress/templates/nginx-ingress.yaml b/packages/extra/ingress/templates/nginx-ingress.yaml index 50829605..88d98b74 100644 --- a/packages/extra/ingress/templates/nginx-ingress.yaml +++ b/packages/extra/ingress/templates/nginx-ingress.yaml @@ -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