Add Kubernetes pod spec configuration
ProprietaryAdd default required configuration to a workload's pod spec when it is missing. The pod spec is located by kind, so a Deployment, StatefulSet, DaemonSet, ReplicaSet, ReplicationController, Job or CronJob is configured as well as a bare Pod.
org. openrewrite. kubernetes. AddPodSpecConfigurationRequired
The configuration that is added when necessary, including the key.
Optional
A dot-separated path relative to the pod spec. Omit to configure the pod spec itself; use containers to configure every container in it.
Only configure workloads of this kind. This is a glob expression. When omitted, every workload kind that has a pod spec is configured.
Matching files will be modified. This is a glob expression.
mod run . --recipe= org. openrewrite. kubernetes. AddPodSpecConfiguration \
-P value= 'privileged: false'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.