Find containers with missing configuration
ProprietaryFind containers of a Kubernetes workload that are missing a given piece of configuration. Every container is evaluated on its own, so a sidecar that omits the configuration is reported even when the application container next to it sets it.
org. openrewrite. kubernetes. search. FindContainerMissingConfigurationRequired
A dot-separated path to configuration expected on every container, relative to the container itself.
Optional
Only search containers belonging to this kind of workload. This is a glob expression. When omitted, every workload kind that has a pod spec is searched.
Which container lists to search. Defaults to all of containers, initContainers and ephemeralContainers. Separate values with commas.
Matching files will be modified. This is a glob expression.
mod run . --recipe= org. openrewrite. kubernetes. search. FindContainerMissingConfiguration \
-P configurationPath= resources. limits. cpuInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.