Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

Latest commit

 

History

History
14 lines (7 loc) · 890 Bytes

LabelSelector.md

File metadata and controls

14 lines (7 loc) · 890 Bytes

LabelSelector

A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.

Properties

Name Type Description Notes
matchExpressions List<LabelSelectorRequirement> matchExpressions is a list of label selector requirements. The requirements are ANDed. [optional]
matchLabels 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 &quot;key&quot;, the operator is &quot;In&quot;, and the values array contains only &quot;value&quot;. The requirements are ANDed. [optional]