From ae2a955356cf9964cb15ef9d91d56cf2b78c8e8a Mon Sep 17 00:00:00 2001 From: Jan Lohage Date: Mon, 27 May 2024 11:23:33 +0200 Subject: [PATCH] Set lb-method="SOURCE_IP_PORT" when using "ovn" provider (#733) Signed-off-by: Jan Lohage --- .../templates/cloud-provider-config-loadbalancer.tpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/internal/cloud-provider-config/templates/cloud-provider-config-loadbalancer.tpl b/charts/internal/cloud-provider-config/templates/cloud-provider-config-loadbalancer.tpl index 1c8a33093..318b247d2 100644 --- a/charts/internal/cloud-provider-config/templates/cloud-provider-config-loadbalancer.tpl +++ b/charts/internal/cloud-provider-config/templates/cloud-provider-config-loadbalancer.tpl @@ -6,6 +6,9 @@ monitor-timeout="{{ .Values.monitorTimeout }}" monitor-max-retries={{ .Values.monitorMaxRetries }} lb-version="v2" lb-provider="{{ .Values.lbProvider }}" +{{- if eq .Values.lbProvider "ovn" }} +lb-method="SOURCE_IP_PORT" +{{- end }} floating-network-id="{{ .Values.floatingNetworkID }}" use-octavia="{{ .Values.useOctavia }}" {{- if .Values.floatingSubnetID }}