radondb-mysql-kubernetes
radondb-mysql-kubernetes copied to clipboard
the doc create user guid failed
kubectl apply -f https://raw.githubusercontent.com/radondb/radondb-mysql-kubernetes/main/config/samples/mysql_v1alpha1_mysqluser.yaml
create user failed
error: error validating "https://raw.githubusercontent.com/radondb/radondb-mysql-kubernetes/main/config/samples/mysql_v1alpha1_mysqluser.yaml": error validating data: [ValidationError(MysqlUser.spec): unknown field "tlsOptions" in com.radondb.mysql.v1alpha1.MysqlUser.spec, ValidationError(MysqlUser.spec): unknown field "withGrantOption" in com.radondb.mysql.v1alpha1.MysqlUser.spec]; if you choose to ignore these errors, turn validation off with --validate=false
doc url : https://github.com/radondb/radondb-mysql-kubernetes/blob/main/docs/zh-cn/mgt_mysqluser.md#MysqlUser
Hi! thanks for your contribution! great first issue!
Hello, we updated the API of the main branch, you can try to pull the code of v2.2.0 and apply this file config/samples/mysql_v1alpha1_mysqluser.yaml
When installing Operator, the corresponding version of the CRD will be automatically installed, so you also need to use the corresponding version of the sample
file.
The code on the main branch is not the latest Release code, and it may include new features in development.