-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not create Cluster from Cluster Class without repeating KCP's infrastructureRef #341
Comments
By briefly looking into our API and comparing it to CAPI's kubeadm, I observed the following divergance within our API:
|
This issue is stale because it has been open 90 days with no activity. |
@furkatgofurov7 From what I understand this requires an API version bump, right? In particular I think that the |
What happened:
When defining my RKE2 cluster class I configured the
RKE2ControlPlaneTemplate
as follows:In the CC definition the
spec.controlPlane.machineInfrastructure.ref
is correctly set:However RKE2 provider fails to initialize the control plane machines:
The workaround is to repeat the
infrastructureRef
in theRKE2ControlPlaneTemplate
, like this:I think this should not be necessary due to the CC definition.
What did you expect to happen:
The RKE2ControlPlaneTemplate should respect what was defined in the Cluster Class.
How to reproduce it:
See config above, or it can be reproduced with the quickstart sample by removing the
RKE2ControlPlaneTemplate.spec.template.spec.infrastructureRef
object. referenceAnything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:
/etc/os-release
):The text was updated successfully, but these errors were encountered: