Skip to content

Commit

Permalink
Fix CI issue with CAPI controller manager
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Makhov <[email protected]>
  • Loading branch information
makhov committed Dec 13, 2024
1 parent ca3e267 commit 644bd36
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/capi-smoke-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
name: kind
version: v0.24.0
uri: https://github.com/kubernetes-sigs/kind/releases/download/v0.24.0/kind-linux-amd64

- name: Install support-bundle
run: |
curl --proto '=https' --tlsv1.2 -L https://github.com/replicatedhq/troubleshoot/releases/download/v0.107.0/support-bundle_linux_amd64.tar.gz \
Expand Down Expand Up @@ -80,10 +80,11 @@ jobs:
- name: Install cluster api components
run: |
clusterctl init --control-plane k0sproject-k0smotron --bootstrap k0sproject-k0smotron --infrastructure k0sproject-k0smotron,docker --config config.yaml
kubectl patch -n capi-system deployment/capi-controller-manager -p \
'{"spec":{"template":{"spec":{"containers":[{"name":"manager","args":["--leader-elect", "--metrics-bind-addr=localhost:8080", "--feature-gates=ClusterTopology=true"]}]}}}}'
'{"spec":{"template":{"spec":{"containers":[{"name":"manager","args":["--leader-elect", "--diagnostics-address=:8443", "--insecure-diagnostics=false", "--use-deprecated-infra-machine-naming=false", "--feature-gates=MachinePool=true,ClusterResourceSet=true,ClusterTopology=true,RuntimeSDK=false,MachineSetPreflightChecks=true,MachineWaitForVolumeDetachConsiderVolumeAttachments=true"]}]}}}}'
kubectl patch -n capd-system deployment/capd-controller-manager -p \
'{"spec":{"template":{"spec":{"containers":[{"name":"manager","args":["--leader-elect", "--metrics-bind-addr=localhost:8080", "--feature-gates=ClusterTopology=true"]}]}}}}'
'{"spec":{"template":{"spec":{"containers":[{"name":"manager","args":["--leader-elect", "--diagnostics-address=:8443", "--insecure-diagnostics=false", "--feature-gates=MachinePool=true,ClusterTopology=false"]}]}}}}'
- name: Install PVC provider
run: |
Expand Down

0 comments on commit 644bd36

Please sign in to comment.