Skip to content

Commit

Permalink
refactor: remove priority
Browse files Browse the repository at this point in the history
  • Loading branch information
msvechla committed Jan 21, 2025
1 parent d0a7de6 commit 95a1fd8
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 22 deletions.
5 changes: 0 additions & 5 deletions api/v1beta1/grafananotificationpolicyroute_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ type GrafanaNotificationPolicyRouteSpec struct {
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
// Important: Run "make" to regenerate code after modifying this file

// +kubebuilder:validation:Minimum=1
// +kubebuilder:validation:Maximum=100
// +optional
Priority *int8 `json:"priority,omitempty"`

// Route for alerts to match against
Route *Route `json:"route"`
}
Expand Down
5 changes: 0 additions & 5 deletions api/v1beta1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ spec:
description: GrafanaNotificationPolicyRouteSpec defines the desired state
of GrafanaNotificationPolicyRoute
properties:
priority:
maximum: 100
minimum: 1
type: integer
route:
description: Route for alerts to match against
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ spec:
description: GrafanaNotificationPolicyRouteSpec defines the desired state
of GrafanaNotificationPolicyRoute
properties:
priority:
maximum: 100
minimum: 1
type: integer
route:
description: Route for alerts to match against
properties:
Expand Down
4 changes: 0 additions & 4 deletions deploy/kustomize/base/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1937,10 +1937,6 @@ spec:
description: GrafanaNotificationPolicyRouteSpec defines the desired state
of GrafanaNotificationPolicyRoute
properties:
priority:
maximum: 100
minimum: 1
type: integer
route:
description: Route for alerts to match against
properties:
Expand Down

0 comments on commit 95a1fd8

Please sign in to comment.