Migrate to Kubernetes API v1.25

Proprietary

This recipe will apply changes commonly needed when migrating to Kubernetes API v1.25.

org.openrewrite.kubernetes.migrate.MigrateToAPIv1_25
mod run . --recipe=org.openrewrite.kubernetes.migrate.MigrateToAPIv1_25

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 to Kubernetes API v1.24
  2. Change Kubernetes API version
  3. Change Kubernetes API version
  4. Change Kubernetes API version
  5. Migrate HorizontalPodAutoscaler to autoscaling/v2
  6. Migrate PodDisruptionBudget to policy/v1
  7. Change Kubernetes API version