Change value
Apache 2.0Change a YAML mapping entry value while leaving the key intact.
org. openrewrite. yaml. ChangeValueRequired
A JsonPath expression to locate a YAML entry.
The new value to set for the key identified by the oldKeyPath.
Optional
A glob expression representing a file path to search for (relative to the project root). Blank/null matches all.
mod run . --recipe= org. openrewrite. yaml. ChangeValue \
-P keyPath= '$. subjects. kind' \
-P value= DeploymentInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.