opa gatekeeper v3.14.0

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

LabelSelector is the combination of two optional fields: `matchLabels` and `matchExpressions`. These two fields provide different methods of selecting or excluding k8s objects based on the label keys and values included in object metadata. All selection expressions from both sections are ANDed to determine if an object meets the cumulative requirements of the selector.

2 fields
ModifySet.spec.match.labelSelector.matchExpressions[].values.spec.match.labelSelector fields and descriptions
Field / TypeDescription
object[]

matchExpressions is a list of label selector requirements. The requirements are ANDed.

map[string]string

matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.