Skip to content

Commit b0caf87

Browse files
authored
Merge pull request #26 from SovereignCloudStack/fix/scs2-apisrv-lb-default
Fix/scs2 apisrv lb default
2 parents 382f366 + 1b973ce commit b0caf87

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

08-create-cluster.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,11 @@ fi
5959
# Additional variables
6060
# Compatibility with old defaults
6161
if ! grep CL_VARIABLES "$SET" >/dev/null 2>&1; then
62-
CL_VARIABLES="apiserver_loadbalancer=octavia-ovn"
62+
if test "$CS_SERIES" = "scs2"; then
63+
CL_VARIABLES="apiServerLoadBalancer=octavia-ovn"
64+
else
65+
CL_VARIABLES="apiserver_loadbalancer=octavia-ovn"
66+
fi
6367
fi
6468
# Turn them into YAML
6569
if test -n "$CL_VARIABLES"; then

20-install-gateway-api-crd.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@ source "$SET"
1818
export KUBECONFIG=~/.kube/$CS_NAMESPACE.$CL_NAME
1919
kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.3.0/standard-install.yaml
2020
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/gateway-api/v1.3.0/config/crd/experimental/gateway.networking.k8s.io_tlsroutes.yaml
21-
# Patch configMap for cilium -- is this possible after the fact?
21+
# Patch configMap for cilium -- this won't be effective after kube-proxy is running already
22+
echo "Note: If kube-proxy is already running, we won't have kube-proxy-less mode ..."
2223
kubectl patch -n kube-system configmap cilium-config -p '.data.kube-proxy-replacement: true'

22-sonobuoy.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
#!/bin/bash
2+
# See also https://github.com/SovereignCloudStack/standards/issues/982
23
sonobuoy run --plugin-env=e2e.E2E_PROVIDER=openstack --e2e-skip="\[Disruptive\]|NoExecuteTaintManager|HostPort validates that there is no conflict between pods with same hostPort but different hostIP and protocol"

0 commit comments

Comments
 (0)