From ab70ae4978e1ad09bbcba0d566cd5310962a15ad Mon Sep 17 00:00:00 2001 From: junot Date: Thu, 1 Feb 2024 14:36:21 +0800 Subject: [PATCH] change disableAlertingRulesAutoSelection default to be true Signed-off-by: junot --- charts/whizard/Chart.yaml | 2 +- charts/whizard/crds/monitoring.whizard.io_services.yaml | 4 ++-- config/crd/bases/monitoring.whizard.io_services.yaml | 4 ++-- pkg/api/monitoring/v1alpha1/service_types.go | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/charts/whizard/Chart.yaml b/charts/whizard/Chart.yaml index 9b11cc0e..adf9e1f5 100644 --- a/charts/whizard/Chart.yaml +++ b/charts/whizard/Chart.yaml @@ -14,5 +14,5 @@ maintainers: email: junhaozhang@kubesphere.io - name: junot email: junotxiang@kubesphere.io -version: 0.10.2 +version: 0.10.3 appVersion: "latest" diff --git a/charts/whizard/crds/monitoring.whizard.io_services.yaml b/charts/whizard/crds/monitoring.whizard.io_services.yaml index 1192da88..bc051324 100644 --- a/charts/whizard/crds/monitoring.whizard.io_services.yaml +++ b/charts/whizard/crds/monitoring.whizard.io_services.yaml @@ -11881,9 +11881,9 @@ spec: type: object type: object disableAlertingRulesAutoSelection: - default: false + default: true description: "DisableAlertingRulesAutoSelection disable auto select - alerting rules in tenant ruler \n Default: false" + alerting rules in tenant ruler \n Default: true" type: boolean evaluationInterval: default: 1m diff --git a/config/crd/bases/monitoring.whizard.io_services.yaml b/config/crd/bases/monitoring.whizard.io_services.yaml index 1192da88..bc051324 100644 --- a/config/crd/bases/monitoring.whizard.io_services.yaml +++ b/config/crd/bases/monitoring.whizard.io_services.yaml @@ -11881,9 +11881,9 @@ spec: type: object type: object disableAlertingRulesAutoSelection: - default: false + default: true description: "DisableAlertingRulesAutoSelection disable auto select - alerting rules in tenant ruler \n Default: false" + alerting rules in tenant ruler \n Default: true" type: boolean evaluationInterval: default: 1m diff --git a/pkg/api/monitoring/v1alpha1/service_types.go b/pkg/api/monitoring/v1alpha1/service_types.go index b3ef912e..2ddad19c 100644 --- a/pkg/api/monitoring/v1alpha1/service_types.go +++ b/pkg/api/monitoring/v1alpha1/service_types.go @@ -80,8 +80,8 @@ type RulerTemplateSpec struct { // DisableAlertingRulesAutoSelection disable auto select alerting rules in tenant ruler // - // Default: false - // +kubebuilder:default:=false + // Default: true + // +kubebuilder:default:=true DisableAlertingRulesAutoSelection *bool `json:"disableAlertingRulesAutoSelection,omitempty"` }