cybozu-go / moco

MySQL operator on Kubernetes using GTID-based semi-synchronous replication.

Home Page:https://cybozu-go.github.io/moco/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why `MySQLClusterSpec.backupPolicyName` is required ?

pddg opened this issue · comments

backupPolicyName is marked as Required: true in the document.
https://cybozu-go.github.io/moco/crd_mysqlcluster_v1beta1.html#mysqlclusterspec
https://cybozu-go.github.io/moco/crd_mysqlcluster_v1beta2.html#mysqlclusterspec

It seems to be optional since the type of backupPolicyName is *string.
There were no problems when I actually used the MySQLCluster without backupPolicyName.

As you pointed out, it is a bug of documentation. We will fix it.