Skip to content

Commit 00301ed

Browse files
authored
Merge pull request #177 from andyli029/statefulset
api,config: fix the incorrect description about MetricsOpts
2 parents 4a5ad56 + a808d7f commit 00301ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

api/v1alpha1/cluster_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ type ClusterSpec struct {
5151
// +kubebuilder:default:={image: "radondb/xenon:1.1.5-alpha", admitDefeatHearbeatCount: 5, electionTimeout: 10000, resources: {limits: {cpu: "100m", memory: "256Mi"}, requests: {cpu: "50m", memory: "128Mi"}}}
5252
XenonOpts XenonOpts `json:"xenonOpts,omitempty"`
5353

54-
// XenonOpts is the options of metrics container.
54+
// MetricsOpts is the options of metrics container.
5555
// +optional
5656
// +kubebuilder:default:={image: "prom/mysqld-exporter:v0.12.1", resources: {limits: {cpu: "100m", memory: "128Mi"}, requests: {cpu: "10m", memory: "32Mi"}}, enabled: false}
5757
MetricsOpts MetricsOpts `json:"metricsOpts,omitempty"`

config/crd/bases/mysql.radondb.com_clusters.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ spec:
6161
requests:
6262
cpu: 10m
6363
memory: 32Mi
64-
description: XenonOpts is the options of metrics container.
64+
description: MetricsOpts is the options of metrics container.
6565
properties:
6666
enabled:
6767
default: false

0 commit comments

Comments
 (0)