Hello
I have currently operator v1.11 running.
When I want to apply :
kubectl -n abc apply --server-side -f https://raw.githubusercontent.com/percona/percona-server-mongodb-operator/v1.12.0/deploy/bundle.yaml
customresourcedefinition.apiextensions.k8s.io/perconaservermongodbbackups.psmdb.percona.com serverside-applied
customresourcedefinition.apiextensions.k8s.io/perconaservermongodbrestores.psmdb.percona.com serverside-applied
role.rbac.authorization.k8s.io/percona-server-mongodb-operator serverside-applied
serviceaccount/percona-server-mongodb-operator serverside-applied
rolebinding.rbac.authorization.k8s.io/service-account-percona-server-mongodb-operator serverside-applied
deployment.apps/percona-server-mongodb-operator serverside-applied
The CustomResourceDefinition “perconaservermongodbs.psmdb.percona.com” is invalid: spec.preserveUnknownFields: Invalid value: true: must be false in order to use defaults in the schema
Then I get the error above.
Question: Can I / Do I have to change all the
x-kubernetes-preserve-unknown-fields: true -> false
in bundle.yaml and apply it ?