Open lparis opened 2 weeks ago
This issue is currently awaiting triage.
If CAPI contributors determine this is a relevant issue, they will accept it by applying the triage/accepted
label and provide further guidance.
The triage/accepted
label can be added by org members by writing /triage accepted
in a comment.
Not sure if I got it correctly. Did you export the env var before running clusterctl init the first time?
Independent of that there are multiple controller that have this feature flag. In this case it looks like KCP has it still set to false. I would check all controllers
What steps did you take and what happened?
Going through the Quick Start (https://cluster-api.sigs.k8s.io/user/quick-start) on Mac v14.5 with M2. Using CAPD provider. Bootstrap cluster created. Management cluster created. Creating workload cluster appears to succeed but is stuck pending.
First attempt to create the cluster had the following errors:
Even though I had run the command "export CLUSTER_TOPOLOGY=true", and then reran it again and again, using "kubectl edit -n capi-system deployment.apps/capi-controller-manager" I could see that the flag was still set false, so I set it to true and saved the edit.
Next attempt to create the cluster appears to succeed, but the cluster is in a "pending" state and never comes up. Error message says that the cluster topology flag is not set, but I can see that it is set.
cluster.cluster.x-k8s.io/capi-quickstart created Error from server (Forbidden): error when creating "capi-quickstart.yaml": admission webhook "validation.kubeadmcontrolplanetemplate.controlplane.cluster.x-k8s.io" denied the request: spec: Forbidden: can be set only if the ClusterTopology feature flag is enabled
What did you expect to happen?
Workload cluster would be created
Cluster API version
v1.7.3
Kubernetes version
v1.30.0
Anything else you would like to add?
No response
Label(s) to be applied
/kind bug One or more /area label. See https://github.com/kubernetes-sigs/cluster-api/labels?q=area for the list of labels.