Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

You dont need to be cluster-admin to be able to work with operator on OpenShift #29

Open
mchoma opened this issue Jul 2, 2019 · 0 comments

Comments

@mchoma
Copy link
Contributor

mchoma commented Jul 2, 2019

Instructions 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:

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>

Please make this clear in install procedure.

[1] https://github.com/wildfly/wildfly-operator#OpenShift

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant