Skip to content

Commit

Permalink
Update DIM CR to include a label selector (#904)
Browse files Browse the repository at this point in the history
  • Loading branch information
dymurray authored Jun 4, 2024
1 parent 3e3d59a commit cf07227
Showing 1 changed file with 46 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,52 @@ spec:
type: string
type: object
x-kubernetes-map-type: atomic
labelSelector:
description: LabelSelector optional label selector on the included
resources to migrate
properties:
matchExpressions:
description: matchExpressions is a list of label selector requirements.
The requirements are ANDed.
items:
description: A label selector requirement is a selector that
contains values, a key, and an operator that relates the key
and values.
properties:
key:
description: key is the label key that the selector applies
to.
type: string
operator:
description: operator represents a key's relationship to
a set of values. Valid operators are In, NotIn, Exists
and DoesNotExist.
type: string
values:
description: values is an array of string values. If the
operator is In or NotIn, the values array must be non-empty.
If the operator is Exists or DoesNotExist, the values
array must be empty. This array is replaced during a strategic
merge patch.
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchLabels:
additionalProperties:
type: string
description: 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.
type: object
type: object
x-kubernetes-map-type: atomic
namespaces:
description: Holds names of all namespaces to run DIM to get all the
imagestreams in these namespaces.
Expand Down

0 comments on commit cf07227

Please sign in to comment.