Change Kubernetes API version
ProprietaryChange the Kubernetes API version in a resource.
org. openrewrite. kubernetes. ChangeApiVersionRequired
The old Kubernetes API version to match.
The new Kubernetes API version to change to.
Optional
Only change resources of this kind. This is a glob expression. When omitted, every resource on the old API version is changed, which is only safe when the whole group/version moved together.
Matching files will be modified. This is a glob expression.
mod run . --recipe= org. openrewrite. kubernetes. ChangeApiVersion \
-P oldApiVersion= flowcontrol. apiserver. k8s. io/ v1beta3 \
-P newApiVersion= flowcontrol. apiserver. k8s. io/ v1Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.