Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Users can fill in regular expressions in the parameter #215

Merged
merged 1 commit into from
Aug 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
regexValue:
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
regexValue:
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
regexValue:
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
regexValue:
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
regexValue:
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