]
Jeff Mesnil updated WFWIP-234:
------------------------------
Workaround Description: Do no use the oc scale operation but edit the WildFlyServer
resource instead.
Workaround: Workaround Exists
oc scale wildflyserver throws Permissions error with regular user
-----------------------------------------------------------------
Key: WFWIP-234
URL:
https://issues.jboss.org/browse/WFWIP-234
Project: WildFly WIP
Issue Type: Bug
Components: OpenShift
Reporter: Petr Kremensky
Assignee: Jeff Mesnil
Priority: Critical
Labels: operator
Trying to use {{oc scale}} command using a regular users (non-admin) fails with
permissions error:
{code}
oc scale --replicas=2 wildflyserver quickstart
Error from server (Forbidden):
wildflyservers.wildfly.org "quickstart" is
forbidden: User "developer" cannot get resource "wildflyservers/scale"
in API group "wildfly.org" in the namespace "eap-operator"
{code}
thou I'm able to change the wildflyserver (edit number of replicas in yaml) resource
via web console without trouble.