Closed ksemele closed 1 month ago
please open this ticket in the main cluster-api repository.
i think you should be using either the config or the env vars, but not the mixture. for the mixture to work i think clusterctl needs to merge the env values on top of a config that is either provided by the user or blank/defaulted.
/close
@neolit123: Closing this issue.
/kind bug
I followed this manual for simple test vSphere cluster.
So I skipped
Set required environment variables:
part because of I have an existing config file here:~/.cluster-api/clusterctl.yaml
I added 2 extra envs to my env and checked that they are exist:
When I tried to apply a
cluster.yaml
file I got an validation error:What did you expect to happen: Cluster is created.
Anything else you would like to add: I think there are some errors with envs vs configfile... Because when I added
EXP_KUBEADM_BOOTSTRAP_FORMAT_IGNITION: true
to my existing~/.cluster-api/clusterctl.yaml
This error is gone.Environment:
kubectl version
): v1.31.0 (latest kind over Docker)/etc/os-release
): macOS 15.0.1