Find annotation

Proprietary

Find annotations that optionally match a given regex.

org.openrewrite.kubernetes.search.FindAnnotation

Required

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

Optional

An optional regex expression that will find values that match.

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

mod run . --recipe=org.openrewrite.kubernetes.search.FindAnnotation \ -P annotationName=mycompany.io/annotation

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