opa gatekeeper v3.14.0

ModifySet.spec.match.labelSelector.matchExpressions[].values.spec.match.namespaces

Namespaces is a list of namespace names. If defined, a constraint only applies to resources in a listed namespace. Namespaces also supports a prefix or suffix based glob. For example, `namespaces: [kube-*]` matches both `kube-system` and `kube-public`, and `namespaces: [*-system]` matches both `kube-system` and `gatekeeper-system`.

1 fields
ModifySet.spec.match.labelSelector.matchExpressions[].values.spec.match.namespaces fields and descriptions
Field / TypeDescription
ModifySet.spec.match.labelSelector.matchExpressions[].values.spec.match.namespaces
string

A string that supports globbing at its front or end. Ex: "kube-*" will match "kube-system" or "kube-public", "*-system" will match "kube-system" or "gatekeeper-system". The asterisk is required for wildcard matching.

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