LabelSelectorPatch interface

The label selector settings that can be patched.

Properties

matchExpressions

The label selector requirements that can be patched.

matchLabels

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.

Property Details

matchExpressions

The label selector requirements that can be patched.

matchExpressions?: LabelSelectorRequirementPatch[]

Property Value

matchLabels

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.

matchLabels?: Record<string, string>

Property Value

Record<string, string>