# v1LabelSelectorRequirement

Type: object

A label selector requirement is a selector that contains values, a key, and an operator that
relates the key and values.

Schema: [v1LabelSelectorRequirement](https://sourcey-argocd.pages.dev/api/models/v1labelselectorrequirement/index.md)

- `key` (optional)
  Type: string
  
  key is the label key that the selector applies to.

- `operator` (optional)
  Type: string
  
  operator represents a key's relationship to a set of values.
  Valid operators are In, NotIn, Exists and DoesNotExist.

- `values` (optional)
  Type: array
  
  Items:
    Type: string