Skip to content

Commit 1df3ecc

Browse files
committed
rancher-turtles: align with atip examples
In the ATIP EIB flow we align with suse-edge/telco-cloud-examples#9 In the metal3 demo interactive flow we have to override some defaults which we changed in the suse-edge wrapper chart to make the rancher-turtles chart install cleanly via EIB when using the RKE2 helm controller, so revert those in the interactive flow (since we expect Rancher to be up and running in that case)
1 parent 48d7952 commit 1df3ecc

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

asciidoc/product/atip-management-cluster.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -525,8 +525,8 @@ if [ $(${KUBECTL} get pods -n ${RANCHER_CHART_TARGETNAMESPACE} -l app=rancher -o
525525
EOF
526526
527527
# Disable Rancher webhooks for CAPI
528-
${KUBECTL} delete mutatingwebhookconfiguration.admissionregistration.k8s.io mutating-webhook-configuration
529-
${KUBECTL} delete validatingwebhookconfigurations.admissionregistration.k8s.io validating-webhook-configuration
528+
${KUBECTL} delete --ignore-not-found=true mutatingwebhookconfiguration.admissionregistration.k8s.io mutating-webhook-configuration
529+
${KUBECTL} delete --ignore-not-found=true validatingwebhookconfigurations.admissionregistration.k8s.io validating-webhook-configuration
530530
${KUBECTL} wait --for=delete namespace/cattle-provisioning-capi-system --timeout=300s
531531
fi
532532

asciidoc/quickstart/metal3.adoc

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,20 @@ Cluster API dependencies are managed via the Rancher Turtles Helm chart:
161161

162162
[,bash]
163163
----
164+
cat > values.yaml <<EOF
165+
rancherTurtles:
166+
features:
167+
embedded-capi:
168+
disabled: true
169+
rancher-webhook:
170+
cleanup: true
171+
EOF
172+
164173
helm install \
165174
rancher-turtles oci://registry.suse.com/edge/3.1/rancher-turtles-chart \
166175
--namespace rancher-turtles-system \
167-
--create-namespace
176+
--create-namespace \
177+
-f values.yaml
168178
----
169179

170180
After some time, the controller pods should be running in the `capi-system`, `capm3-system`, `rke2-bootstrap-system` and `rke2-control-plane-system` namespaces.

0 commit comments

Comments
 (0)