opa gatekeeper v3.23.1

Assign.spec.match.name

Name is the name of an object. If defined, it will match against objects with the specified name. Name also supports a prefix or suffix glob. For example, `name: pod-*` would match both `pod-a` and `pod-b`, and `name: *-pod` would match both `a-pod` and `b-pod`.

1 fields
Assign.spec.match.name fields and descriptions
Field / TypeDescription
Assign.spec.match.name
string

Name is the name of an object. If defined, it will match against objects with the specified name. Name also supports a prefix or suffix glob. For example, `name: pod-*` would match both `pod-a` and `pod-b`, and `name: *-pod` would match both `a-pod` and `b-pod`.

  • pattern: ^\*?[-:a-z0-9]*\*?$