Migrate Cluster API Provider Metal3 resources to v1beta2
ProprietaryChange the apiVersion of the resources served by Cluster API Provider Metal3 to v1beta2. Check first that the Metal3 release you run serves v1beta2 at all: as late as provider v1.10.1, api/v1beta1 is still the hub version and no v1beta2 package is shipped, and an apiVersion naming a version the CRD does not serve is rejected on apply. This recipe changes apiVersion only. Whatever else this provider reshaped in v1beta2 is defined by the provider rather than by the Cluster API contract, so review the resources it touches against the provider's own migration notes.
org. openrewrite. kubernetes. clusterapi. MigrateMetal3ProviderToV1beta2mod run . --recipe= org. openrewrite. kubernetes. clusterapi. MigrateMetal3ProviderToV1beta2Install 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.