radondb / radondb-mysql-kubernetes

Open Source,High Availability Cluster,based on MySQL
Apache License 2.0
356 stars 84 forks source link

forbidden: spec.MysqlVersion is not provided #847

Open lanss315425 opened 5 months ago

lanss315425 commented 5 months ago

Hello, I encountered an error while executing the following and was unable to create a cluster ! k8s version:v1.26.13

helm repo add radondb https://radondb.github.io/radondb-mysql-kubernetes/
helm install radondb radondb/mysql-operator -n radondb
kubectl apply -f https://github.com/radondb/radondb-mysql-kubernetes/releases/latest/download/mysql_v1beta1_mysqlcluster.yaml -n radondb
Error from server (Forbidden): error when creating "https://github.com/radondb/radondb-mysql-kubernetes/releases/latest/download/mysql_v1beta1_mysqlcluster.yaml": admission webhook "vmysqlcluster.kb.io" denied the request: forbidden: spec.MysqlVersion is not provided
github-actions[bot] commented 5 months ago

Hi! thanks for your contribution! great first issue!

acekingke commented 5 months ago

please use https://github.com/radondb/radondb-mysql-kubernetes/blob/main/config/samples/mysql_v1beta1_mysqlcluster.yaml