diff --git a/api/v1beta1/grafananotificationpolicyroute_types.go b/api/v1beta1/grafananotificationpolicyroute_types.go index 1b67988e5..60525d3e4 100644 --- a/api/v1beta1/grafananotificationpolicyroute_types.go +++ b/api/v1beta1/grafananotificationpolicyroute_types.go @@ -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"` } diff --git a/api/v1beta1/zz_generated.deepcopy.go b/api/v1beta1/zz_generated.deepcopy.go index 03335bbab..d294b7df8 100644 --- a/api/v1beta1/zz_generated.deepcopy.go +++ b/api/v1beta1/zz_generated.deepcopy.go @@ -1376,11 +1376,6 @@ func (in *GrafanaNotificationPolicyRouteList) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *GrafanaNotificationPolicyRouteSpec) DeepCopyInto(out *GrafanaNotificationPolicyRouteSpec) { *out = *in - if in.Priority != nil { - in, out := &in.Priority, &out.Priority - *out = new(int8) - **out = **in - } if in.Route != nil { in, out := &in.Route, &out.Route *out = new(Route) diff --git a/config/crd/bases/grafana.integreatly.org_grafananotificationpolicyroutes.yaml b/config/crd/bases/grafana.integreatly.org_grafananotificationpolicyroutes.yaml index b1117cb51..43a2333e0 100644 --- a/config/crd/bases/grafana.integreatly.org_grafananotificationpolicyroutes.yaml +++ b/config/crd/bases/grafana.integreatly.org_grafananotificationpolicyroutes.yaml @@ -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: diff --git a/deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafananotificationpolicyroutes.yaml b/deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafananotificationpolicyroutes.yaml index b1117cb51..43a2333e0 100644 --- a/deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafananotificationpolicyroutes.yaml +++ b/deploy/helm/grafana-operator/crds/grafana.integreatly.org_grafananotificationpolicyroutes.yaml @@ -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: diff --git a/deploy/kustomize/base/crds.yaml b/deploy/kustomize/base/crds.yaml index 45da37219..f7b04e17c 100644 --- a/deploy/kustomize/base/crds.yaml +++ b/deploy/kustomize/base/crds.yaml @@ -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: