Find label

Proprietary

Find labels that optionally match a given regex.

org.openrewrite.kubernetes.search.FindMissingOrInvalidLabel

Required

The name of the label to search for the existence of.

Optional

An optional regex that will validate values that match.

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

mod run . --recipe=org.openrewrite.kubernetes.search.FindMissingOrInvalidLabel \ -P labelName=mylabel

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