@@ -43,7 +43,7 @@ type ClusterSpec struct {
4343
4444 // MysqlOpts is the options of MySQL container.
4545 // +optional
46- // +kubebuilder:default:={rootPassword: "", rootHost: "localhost", user: "qc_usr ", password: "Qing @123", database: "qingcloud ", initTokuDB: true, resources: {limits: {cpu: "500m", memory: "1Gi"}, requests: {cpu: "100m", memory: "256Mi"}}}
46+ // +kubebuilder:default:={rootPassword: "", rootHost: "localhost", user: "radondb_usr ", password: "RadonDB @123", database: "radondb ", initTokuDB: true, resources: {limits: {cpu: "500m", memory: "1Gi"}, requests: {cpu: "100m", memory: "256Mi"}}}
4747 MysqlOpts MysqlOpts `json:"mysqlOpts,omitempty"`
4848
4949 // XenonOpts is the options of xenon container.
@@ -101,21 +101,21 @@ type MysqlOpts struct {
101101 // Username of new user to create.
102102 // Only be a combination of letters, numbers or underlines. The length can not exceed 26 characters.
103103 // +optional
104- // +kubebuilder:default:="qc_usr "
104+ // +kubebuilder:default:="radondb_usr "
105105 // +kubebuilder:validation:Pattern="^[A-Za-z0-9_]{2,26}$"
106106 User string `json:"user,omitempty"`
107107
108108 // Password for the new user, must be 8~32 characters long.
109109 // Only be a combination of uppercase letters, lowercase letters, numbers or special characters.
110110 // Special characters are supported: @#$%^&*_+-=.
111111 // +optional
112- // +kubebuilder:default:="Qing @123"
112+ // +kubebuilder:default:="RadonDB @123"
113113 // +kubebuilder:validation:Pattern="^[A-Za-z0-9@#$%^&*_+\\-=]{8,32}$"
114114 Password string `json:"password,omitempty"`
115115
116116 // Name for new database to create.
117117 // +optional
118- // +kubebuilder:default:="qingcloud "
118+ // +kubebuilder:default:="radondb "
119119 Database string `json:"database,omitempty"`
120120
121121 // InitTokuDB represents if install tokudb engine.
0 commit comments