Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-17952

oc scale wildflyserver throws Permissions error with regular user

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • None
    • OpenShift
    • Workaround Exists
    • Hide

      Do no use the oc scale operation but edit the WildFlyServer resource instead.

      Show
      Do no use the oc scale operation but edit the WildFlyServer resource instead.

      Trying to use oc scale command using a regular users (non-admin) fails with permissions error:

      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"
      

      thou I'm able to change the wildflyserver (edit number of replicas in yaml) resource via web console without trouble.

              yborgess1@redhat.com Yeray Borges Santana
              pkremens@redhat.com Petr Kremensky (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: