Skip to content

Commit

Permalink
add regex
Browse files Browse the repository at this point in the history
Signed-off-by: dehaocheng <[email protected]>
  • Loading branch information
wenchajun committed Aug 16, 2023
1 parent 09113ce commit 212f303
Show file tree
Hide file tree
Showing 19 changed files with 478 additions and 384 deletions.
132 changes: 48 additions & 84 deletions config/bundle.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -3790,9 +3790,6 @@ spec:
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
Expand All @@ -3803,6 +3800,8 @@ spec:
to a set of values. Valid operators are In, NotIn,
Exists and DoesNotExist.
type: string
regexValues:
type: string
values:
description: values is an array of string values.
If the operator is In or NotIn, the values array
Expand Down Expand Up @@ -4103,9 +4102,6 @@ spec:
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
Expand All @@ -4116,6 +4112,8 @@ spec:
to a set of values. Valid operators are In, NotIn,
Exists and DoesNotExist.
type: string
regexValues:
type: string
values:
description: values is an array of string values.
If the operator is In or NotIn, the values array
Expand Down
95 changes: 38 additions & 57 deletions config/crd/bases/notification.kubesphere.io_receivers.yaml

Large diffs are not rendered by default.

18 changes: 4 additions & 14 deletions config/crd/bases/notification.kubesphere.io_routers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,11 @@ spec:
description: RouterSpec defines the desired state of Router
properties:
alertSelector:
description: 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:
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
Expand All @@ -61,6 +54,8 @@ spec:
a set of values. Valid operators are In, NotIn, Exists
and DoesNotExist.
type: string
regexValues:
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.
Expand Down Expand Up @@ -113,18 +108,11 @@ spec:
regexName:
type: string
selector:
description: 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:
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
Expand All @@ -135,6 +123,8 @@ spec:
to a set of values. Valid operators are In, NotIn,
Exists and DoesNotExist.
type: string
regexValues:
type: string
values:
description: values is an array of string values. If
the operator is In or NotIn, the values array must
Expand Down
9 changes: 2 additions & 7 deletions config/crd/bases/notification.kubesphere.io_silences.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,11 @@ spec:
description: whether the silence is enabled
type: boolean
matcher:
description: 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:
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
Expand All @@ -68,6 +61,8 @@ spec:
a set of values. Valid operators are In, NotIn, Exists
and DoesNotExist.
type: string
regexValues:
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.
Expand Down
Loading

0 comments on commit 212f303

Please sign in to comment.