From a131e07545a89fc049d040192b7d12fecbe26ae8 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 9553e19..342a4c6 100644 --- a/providers/openstack/scs/cluster-class/templates/cluster-class.yaml +++ b/providers/openstack/scs/cluster-class/templates/cluster-class.yaml @@ -356,7 +356,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 @@ -372,7 +372,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 a0c64ee..d1650e6 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: