Env vs config file error when I tried to use both of them #11367
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
priority/backlog
Higher priority than priority/awaiting-more-evidence.
What steps did you take and what happened?
I followed this manual from capv 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.
Cluster API version
1.8.4
Kubernetes version
1.31.1
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.
I also created the task first in the capv repo, but they said that this is probably a problem in
clusterctl
: kubernetes-sigs/cluster-api-provider-vsphere#3245Label(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.
The text was updated successfully, but these errors were encountered: