Find networking.k8s.io/v1beta1 Ingresses

Proprietary

Find Ingress resources still on the networking.k8s.io/v1beta1 API removed in Kubernetes v1.22. Moving to networking.k8s.io/v1 is not a version swap: backend.serviceName and backend.servicePort become backend.service.name and backend.service.port, spec.backend becomes spec.defaultBackend, and every path needs an explicit pathType.

org.openrewrite.kubernetes.search.FindIngressV1beta1

Optional

Matching files will be modified. This is a glob expression.

mod run . --recipe=org.openrewrite.kubernetes.search.FindIngressV1beta1

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