Migrate MachineDrainRule to cluster.x-k8s.io/v1beta2

Proprietary

Rewrite a MachineDrainRule into its v1beta2 form.

org.openrewrite.kubernetes.clusterapi.MigrateMachineDrainRuleToV1beta2
mod run . --recipe=org.openrewrite.kubernetes.clusterapi.MigrateMachineDrainRuleToV1beta2

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Migrate the Cluster API core group to v1beta2