diff --git a/api/v1alpha1/cluster_types.go b/api/v1alpha1/cluster_types.go index 1faac5d855de20e3e15d94a4e21453a3f33af502..2d78e2d5014ab543d362d7588be9a10f538b0b28 100644 --- a/api/v1alpha1/cluster_types.go +++ b/api/v1alpha1/cluster_types.go @@ -51,7 +51,7 @@ type ClusterSpec struct { // +kubebuilder:default:={image: "radondb/xenon:1.1.5-alpha", admitDefeatHearbeatCount: 5, electionTimeout: 10000, resources: {limits: {cpu: "100m", memory: "256Mi"}, requests: {cpu: "50m", memory: "128Mi"}}} XenonOpts XenonOpts `json:"xenonOpts,omitempty"` - // XenonOpts is the options of metrics container. + // MetricsOpts is the options of metrics container. // +optional // +kubebuilder:default:={image: "prom/mysqld-exporter:v0.12.1", resources: {limits: {cpu: "100m", memory: "128Mi"}, requests: {cpu: "10m", memory: "32Mi"}}, enabled: false} MetricsOpts MetricsOpts `json:"metricsOpts,omitempty"` diff --git a/config/crd/bases/mysql.radondb.com_clusters.yaml b/config/crd/bases/mysql.radondb.com_clusters.yaml index 0d096ee78dd866ad0cb16eb7c33215f8f601e114..a95bd11bf0cfef43cf073c488b90daa4fcc785e1 100644 --- a/config/crd/bases/mysql.radondb.com_clusters.yaml +++ b/config/crd/bases/mysql.radondb.com_clusters.yaml @@ -61,7 +61,7 @@ spec: requests: cpu: 10m memory: 32Mi - description: XenonOpts is the options of metrics container. + description: MetricsOpts is the options of metrics container. properties: enabled: default: false