Martin Choma created WFWIP-165:
----------------------------------
Summary: You dont need to be cluster-admin to be able to work with operator
on OpenShift
Key: WFWIP-165
URL:
https://issues.jboss.org/browse/WFWIP-165
Project: WildFly WIP
Issue Type: Bug
Components: OpenShift
Reporter: Martin Choma
Assignee: Brian Stansberry
nstructions how to install operator on OpenShift [1] are shown under cluster-admin role.
As role, role-binding and crd are cluster scoped resources I would expect that only
cluster-admin can specify that.
However I wouldt expect to have cluster-admin role to be able to deploy application using
operator with
oc apply -f deploy/crds/quickstart-cr.yaml
To be able to run this as developer user have to be granted (by cluster-admin) these
permission:
{code}
oc create role wildfly-server --verb=* --resource=wildflyservers.wildfly.org -n
<namespace>
oc adm policy add-role-to-user wildfly-server developer --role-namespace=<namespace>
-n <namespace>
{code}
Please make this clear in install procedure.
[1]
https://github.com/wildfly/wildfly-operator#OpenS
--
This message was sent by Atlassian Jira
(v7.12.1#712002)