cluster-api
cluster-api copied to clipboard
✨ Support any controlplane that implements rolloutAfter in it's spec with clusterctl alpha rollout
What this PR does / why we need it:
Modify clusterctl alpha rollout to support any controlplane.cluster.x-k8s.io and also support different api versions e.g.
clusterctl alpha rollout restart kthreescontrolplane.controlplane.cluster.x-k8s.io.v1beta2/my-kcp
if the version is ommitted then the default of v1beta1
will be used.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):
Fixes #10621
/area clusterctl