Closed steve-fraser closed 1 year ago
@steve-fraser: This issue is currently awaiting triage.
If CAPI contributors determines 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.
What do you mean with "pull back"?
You are generating the YAML for the kubeadm v0.3.0 provider. This provider was based on v1alpha3 not v1beta1. So I think the output is expected
@sbueringer I guess I am confused then. How do I pull back v1beta1 instead?
clusterctl generate
I thought the command grabbing the current provider from git
Sorry I have no idea what you mean with "pull back". Can you please explain?
The clusterctl generate provider
can be used to generate manifests for a provider.
If you pin the version to v0.3.0
via kubeadm:v0.3.0
you get the manifests for the v0.3.0
version.
If you want the YAML for the latest release use clusterctl generate provider --control-plane kubeadm
I see my confusion now.
I (wrongfully) assumed that the output to clusterctl generate provider
Flags:
-b, --bootstrap string Bootstrap provider and version (e.g. kubeadm:v0.3.0)
c
--core string Core provider and version (e.g. cluster-api:v0.3.0)
--describe Generate configuration without variable substitution.
-h, --help help for provider\
Assumed that the output to the command showed me the latest version
-c, --control-plane string ControlPlane provider and version (e.g. kubeadm:v0.3.0)
What steps did you take and what happened: [A clear and concise description on how to REPRODUCE the bug.]
What did you expect to happen:
I would expect v1alpha3 to be pulled back
Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]
Environment:
clusterctl version: &version.Info{Major:"1", Minor:"2", GitVersion:"v1.2.4", GitCommit:"8b5cd363e11b023c2b67a1937a2af680ead9e35c", GitTreeState:"clean", BuildDate:"2022-10-14T07:24:47Z", GoVersion:"go1.19.2", Compiler:"gc", Platform:"linux/amd64"}
kubectl version
):/etc/os-release
):/kind bug [One or more /area label. See https://github.com/kubernetes-sigs/cluster-api/labels?q=area for the list of labels]