You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 23, 2020. It is now read-only.
In the deploy-ocs.sh script, cluster-admin role is being added to the ocs-operator and local-storage-operator serviceaccounts. We should not be doing this.
All the permissions needed by the ocs-operator are being defined by the ocs-operator CSV. If we need something extra for KNI, we need to add it to the ocs CSV.
We currently do need the role addition for local-storage-operator. The local-storage-operator gets deployed by the OLM as a dependency of the ocs-operator. This makes it be installed into the openshift-storage namespace, when it expects to be installed in local-storage namespace. This seems to be causing issues with the permissions it has, and is currently being worked around by giving cluster-admin privileges. We should be working with the local-storage-operator devs and figuring out what exactly is missing when it is installed this way.
Alternatively, we could also install the local-storage-operator into the local-storage namespace separately from the deploy-ocs script. The local-storage operator provides its own deployment manifest to do this. We'll need to change the ocs deployment manifest to not deploy local-storage-operator.