Skip to content

Commit 3da8a88

Browse files
committed
refactor: remove priority
1 parent 3913656 commit 3da8a88

5 files changed

+0
-22
lines changed

api/v1beta1/grafananotificationpolicyroute_types.go

-5
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ type GrafanaNotificationPolicyRouteSpec struct {
2828
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
2929
// Important: Run "make" to regenerate code after modifying this file
3030

31-
// +kubebuilder:validation:Minimum=1
32-
// +kubebuilder:validation:Maximum=100
33-
// +optional
34-
Priority *int8 `json:"priority,omitempty"`
35-
3631
// Route for alerts to match against
3732
Route *Route `json:"route"`
3833
}

api/v1beta1/zz_generated.deepcopy.go

-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/bases/grafana.integreatly.org_grafananotificationpolicyroutes.yaml

-4
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ spec:
4141
description: GrafanaNotificationPolicyRouteSpec defines the desired state
4242
of GrafanaNotificationPolicyRoute
4343
properties:
44-
priority:
45-
maximum: 100
46-
minimum: 1
47-
type: integer
4844
route:
4945
description: Route for alerts to match against
5046
properties:

deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafananotificationpolicyroutes.yaml

-4
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ spec:
4141
description: GrafanaNotificationPolicyRouteSpec defines the desired state
4242
of GrafanaNotificationPolicyRoute
4343
properties:
44-
priority:
45-
maximum: 100
46-
minimum: 1
47-
type: integer
4844
route:
4945
description: Route for alerts to match against
5046
properties:

deploy/kustomize/base/crds.yaml

-4
Original file line numberDiff line numberDiff line change
@@ -1937,10 +1937,6 @@ spec:
19371937
description: GrafanaNotificationPolicyRouteSpec defines the desired state
19381938
of GrafanaNotificationPolicyRoute
19391939
properties:
1940-
priority:
1941-
maximum: 100
1942-
minimum: 1
1943-
type: integer
19441940
route:
19451941
description: Route for alerts to match against
19461942
properties:

0 commit comments

Comments
 (0)