From 34970f98ec57646ed8a0e0e5954a46e12f4c0a4a Mon Sep 17 00:00:00 2001 From: Roman Hros Date: Tue, 10 Sep 2024 10:25:42 +0200 Subject: [PATCH] Enable apiServerLoadBalancer only for octavia LB Signed-off-by: Roman Hros --- .../openstack/scs/cluster-class/templates/cluster-class.yaml | 4 ++-- providers/openstack/scs/cluster-class/values.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/providers/openstack/scs/cluster-class/templates/cluster-class.yaml b/providers/openstack/scs/cluster-class/templates/cluster-class.yaml index 071935c..d0b62fa 100644 --- a/providers/openstack/scs/cluster-class/templates/cluster-class.yaml +++ b/providers/openstack/scs/cluster-class/templates/cluster-class.yaml @@ -355,7 +355,7 @@ cre ate group names like oidc:engineering and oidc:infra." matchResources: infrastructureCluster: true jsonPatches: - - op: add + - op: replace path: "/spec/template/spec/apiServerLoadBalancer/enabled" value: true - op: add @@ -371,7 +371,7 @@ cre ate group names like oidc:engineering and oidc:infra." matchResources: infrastructureCluster: true jsonPatches: - - op: add + - op: replace path: "/spec/template/spec/apiServerLoadBalancer/enabled" value: true - op: add diff --git a/providers/openstack/scs/cluster-class/values.yaml b/providers/openstack/scs/cluster-class/values.yaml index ba9dd87..97e1c87 100644 --- a/providers/openstack/scs/cluster-class/values.yaml +++ b/providers/openstack/scs/cluster-class/values.yaml @@ -4,7 +4,7 @@ worker_flavor: SCS-2V-4-20 restrict_kubeapi: [] # newly introduced: -openstack_loadbalancer_apiserver: true +openstack_loadbalancer_apiserver: false # TBD, currently needed: images: