k3s-io / cluster-api-k3s

Cluster API k3s
Apache License 2.0
149 stars 41 forks source link

Add `Status.Version` for KThreesControlPlane #127

Closed nasusoba closed 5 months ago

nasusoba commented 6 months ago

clusterclass depends on the Status.Version field to determine if the cluster is initialized. If the field is not present, the cluster controller treated it as the cluster is not initialized, so the cluster controller won't trigger rollout if for example user update k3s version. Adding this field to v1beta2 so that a cluster with clusterclass could successfully been rolled out by cluster controller.

123