Details
-
Task
-
Resolution: Fixed
-
Blocker
-
1.0.0
-
None
Description
The current cluster-role.yaml file does not allow the operator to correctly use PVs:
time="2018-08-29T00:23:35Z" level=info msg="Creating headless service for data nodes" cluster-name=cb-example module=cluster
|
time="2018-08-29T00:23:35Z" level=info msg="Creating a pod (cb-example-0000) running Couchbase enterprise-5.5.1" cluster-name=cb-example module=cluster
|
time="2018-08-29T00:23:35Z" level=info msg="deleted pod (cb-example-0000)" cluster-name=cb-example module=cluster
|
time="2018-08-29T00:23:35Z" level=error msg="Cluster setup failed: fail to create member's pod (cb-example-0000): storageclasses.storage.k8s.io \"gp2\" is forbidden: User \"system:serviceaccount:default:couchbase-operator\" cannot get storageclasses.storage.k8s.io at the cluster scope" cluster-name=cb-example module=cluster
|
Looks like the examples in the 'docs' folder are out of date and needs to be better sync'ed up with https://github.com/couchbase/couchbase-operator/blob/master/example/rbac/cluster-role-template.yaml.