Skip to content

Commit

Permalink
Merge pull request #177 from andyli029/statefulset
Browse files Browse the repository at this point in the history
api,config: fix the incorrect description about MetricsOpts
  • Loading branch information
andyli029 authored Aug 10, 2021
2 parents 4a5ad56 + a808d7f commit 00301ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/v1alpha1/cluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/mysql.radondb.com_clusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 00301ed

Please sign in to comment.