From 34fba023012c0f5ffbe8e70d23d15c329340e6f0 Mon Sep 17 00:00:00 2001 From: Anton Date: Sun, 7 Dec 2025 15:54:00 +0600 Subject: [PATCH 1/4] feat: Add LoadBalancerIP support to service template Signed-off-by: Anton --- charts/gateway-helm/templates/envoy-gateway-service.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/gateway-helm/templates/envoy-gateway-service.yaml b/charts/gateway-helm/templates/envoy-gateway-service.yaml index f02135fd50e..bc2a1a318e0 100644 --- a/charts/gateway-helm/templates/envoy-gateway-service.yaml +++ b/charts/gateway-helm/templates/envoy-gateway-service.yaml @@ -12,6 +12,9 @@ metadata: {{- include "eg.labels" . | nindent 4 }} spec: type: {{ .Values.service.type }} + {{- if and (eq .Values.service.type "LoadBalancer") .Values.service.loadBalancerIP }} + loadBalancerIP: {{ .Values.service.loadBalancerIP }} + {{- end }} selector: control-plane: envoy-gateway {{- include "eg.selectorLabels" . | nindent 4 }} From 091cac2f16e3784d2141121cc83be8c0f2ce61ed Mon Sep 17 00:00:00 2001 From: Anton Date: Mon, 8 Dec 2025 09:08:40 +0600 Subject: [PATCH 2/4] feat(gateway-helm): support loadBalancerIP for LoadBalancer service type --- test/helm/gateway-helm/service-customization.in.yaml | 2 ++ test/helm/gateway-helm/service-customization.out.yaml | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/test/helm/gateway-helm/service-customization.in.yaml b/test/helm/gateway-helm/service-customization.in.yaml index 6c35d65f298..1288e2fd91c 100644 --- a/test/helm/gateway-helm/service-customization.in.yaml +++ b/test/helm/gateway-helm/service-customization.in.yaml @@ -6,5 +6,7 @@ global: service: trafficDistribution: PreferClose + type: "LoadBalancer" + loadBalancerIP: "172.18.0.201" annotations: this: that diff --git a/test/helm/gateway-helm/service-customization.out.yaml b/test/helm/gateway-helm/service-customization.out.yaml index 2d613418307..701d6a409de 100644 --- a/test/helm/gateway-helm/service-customization.out.yaml +++ b/test/helm/gateway-helm/service-customization.out.yaml @@ -360,7 +360,8 @@ metadata: app.kubernetes.io/version: "latest" app.kubernetes.io/managed-by: Helm spec: - type: ClusterIP + type: LoadBalancer + loadBalancerIP: 172.18.0.201 selector: control-plane: envoy-gateway app.kubernetes.io/name: gateway-helm From 6c46ff7bf55593ed0001f83e932258983e29c1b4 Mon Sep 17 00:00:00 2001 From: Anton Date: Tue, 9 Dec 2025 08:17:04 +0600 Subject: [PATCH 3/4] feat(gateway-helm): support loadBalancerIP for LoadBalancer service type Signed-off-by: Anton --- charts/gateway-helm/templates/envoy-gateway-service.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/charts/gateway-helm/templates/envoy-gateway-service.yaml b/charts/gateway-helm/templates/envoy-gateway-service.yaml index bc2a1a318e0..989a313db44 100644 --- a/charts/gateway-helm/templates/envoy-gateway-service.yaml +++ b/charts/gateway-helm/templates/envoy-gateway-service.yaml @@ -28,3 +28,4 @@ spec: {{- with .Values.service.trafficDistribution }} trafficDistribution: {{ . }} {{- end }} + From de4c44090280c918718ee46bc9d8184f92616640 Mon Sep 17 00:00:00 2001 From: Anton Date: Tue, 9 Dec 2025 08:18:25 +0600 Subject: [PATCH 4/4] feat(gateway-helm): support loadBalancerIP for LoadBalancer service type Signed-off-by: Anton --- charts/gateway-helm/templates/envoy-gateway-service.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/charts/gateway-helm/templates/envoy-gateway-service.yaml b/charts/gateway-helm/templates/envoy-gateway-service.yaml index 989a313db44..bc2a1a318e0 100644 --- a/charts/gateway-helm/templates/envoy-gateway-service.yaml +++ b/charts/gateway-helm/templates/envoy-gateway-service.yaml @@ -28,4 +28,3 @@ spec: {{- with .Values.service.trafficDistribution }} trafficDistribution: {{ . }} {{- end }} -