sonatype / operator-nxrm3

IBM Operator for Nexus Repo Manager 3
16 stars 6 forks source link

No Role & RoleBindings founds for Statefulsets #32

Open libredeb opened 3 years ago

libredeb commented 3 years ago

When I'm trying to create an instance for Nexus Repo Manager, and enable statefulset with true value. A warning message appear saying that the default serviceaccount (that the operator create) has no permission to manipulate statefulset objets.

After creating the proper role and rolebinding objets to support statefulsets objets and recreate the Nexus Repo Manager instance, I can bypass the problem. Please, check that. Regards!

phlbrz commented 1 year ago

Hi there,

To address the issue, I included an additional role for the service account.

Workaround: oc policy add-role-to-user edit -z nxrm-operator-certified -n -my-nexus-project