Skip to content

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Tiltfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ else:
107107
# install all providers in one shot because clusterctl init hangs on cert-manager if we try to do each conditionally
108108
local_resource(
109109
'capi-controller-manager',
110-
cmd="EXP_CLUSTER_RESOURCE_SET=true CLUSTER_TOPOLOGY=true clusterctl init --addon helm --core cluster-api:${capi_version} --bootstrap kubeadm:${capi_version},k3s,rke2 --control-plane kubeadm:${capi_version},k3s,rke2 --config ./hack/clusterctl.yaml",
111-
env={'capi_version': os.getenv("CAPI_VERSION", "v1.11.1")},
110+
cmd="EXP_CLUSTER_RESOURCE_SET=true CLUSTER_TOPOLOGY=true KUBEADM_BOOTSTRAP_FORMAT_IGNITION=true clusterctl init --addon helm --core cluster-api:${capi_version} --bootstrap kubeadm:${capi_version},k3s:${k3s_version},rke2:${rke2_version} --control-plane kubeadm:${capi_version},k3s:${k3s_version},rke2:${rke2_version} --config ./hack/clusterctl.yaml",
111+
env={'capi_version': os.getenv("CAPI_VERSION", "v1.11.1"), 'k3s_version': os.getenv("K3S_VERSION", "v0.3.0", 'rke2_version': os.getenv("RKE2_VERSION", "v0.20.1"},
112112
)
113113

114114
capl_resources = [

hack/manifests/kubeadm.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ metadata:
55
name: kubeadm
66
namespace: capi-kubeadm-bootstrap-system
77
spec:
8+
manager:
9+
featureGates:
10+
KubeadmBootstrapFormatIgnition: true
811
version: v1.11.1
912
---
1013
apiVersion: operator.cluster.x-k8s.io/v1alpha2
@@ -17,3 +20,4 @@ spec:
1720
manager:
1821
featureGates:
1922
ClusterTopology: true
23+
KubeadmBootstrapFormatIgnition: true

0 commit comments

Comments
 (0)