test: Fix role names in OpenShift marmalade test project
test: Fix role names in OpenShift marmalade test project

It is very confusing to pre-create "amanda" and other users in our
OpenShift test VM:

    # oc get rolebindings -n marmalade
    NAME      ROLE      USERS                  GROUPS    SERVICE ACCOUNTS   SUBJECTS
    admin     /admin    scruffy
    edit      /edit     scruffy, amanda
    view      /view     scruffy, tom, amanda   sports

But these two roles aren't actually valid in OpenShift:

    # oadm policy add-role-to-user edit amanda -n marmalade
    The RoleBinding "edit" is invalid.

This causes these users/groups to be shown on the "Show all projects"
Users list and shown as being members of marmalade, but are not visible
on the marmalade project page (after actually creating the user by
logging in as them).

Adjust the "oc patch" command to create these roles with the official
registry-{editor,viewer} roles so that they actually work and reflect
what cockpit reads and writes. This avoids confusion for people who use
our VM to test the cockpit registry.  Notably none of our tests actually
rely on these two users/roles, these are just for human testing.

This requires adding a resourceVersion to the metadata, as changing
policies depend on having a non-empty version.

Reviewed-by: Dominik Perpeet <f7830b2723a5db4fc185058b06cfab4b89a38da9@redhat.com>

stefwalter/cockpit,larskarlitski/cockpit,SotolitoLabs/cockpit,deryni/cockpit,cockpituous/cockpit,cockpit-project/cockpit,xhad/cockpit,andreasn/cockpit,deryni/cockpit,SotolitoLabs/cockpit,stefwalter/cockpit,SotolitoLabs/cockpit,michalskrivanek/cockpit,andreasn/cockpit,stefwalter/cockpit,moraleslazaro/cockpit,harishanand95/cockpit,stefwalter/cockpit,cockpit-project/cockpit,mvollmer/cockpit,larskarlitski/cockpit,garrett/cockpit,martinpitt/cockpit,larsu/cockpit,harishanand95/cockpit,cockpituous/cockpit,larsu/cockpit,mvollmer/cockpit,deryni/cockpit,garrett/cockpit,andreasn/cockpit,deryni/cockpit,larskarlitski/cockpit,Scribery/cockpit,garrett/cockpit,larskarlitski/cockpit,michalskrivanek/cockpit,xhad/cockpit,SotolitoLabs/cockpit,cockpituous/cockpit,xhad/cockpit,larskarlitski/cockpit,larsu/cockpit,Scribery/cockpit,harishanand95/cockpit,mareklibra/cockpit,xhad/cockpit,mareklibra/cockpit,cockpituous/cockpit,cockpit-project/cockpit,Scribery/cockpit,moraleslazaro/cockpit,dperpeet/cockpit,petervo/cockpit,dperpeet/cockpit,martinpitt/cockpit,garrett/cockpit,andreasn/cockpit,larskarlitski/cockpit,dperpeet/cockpit,harishanand95/cockpit,andreasn/cockpit,stefwalter/cockpit,SotolitoLabs/cockpit,martinpitt/cockpit,petervo/cockpit,stefwalter/cockpit,SotolitoLabs/cockpit,larsu/cockpit,michalskrivanek/cockpit,mareklibra/cockpit,dperpeet/cockpit,mvollmer/cockpit,Scribery/cockpit,moraleslazaro/cockpit,martinpitt/cockpit,harishanand95/cockpit,xhad/cockpit,Scribery/cockpit,mvollmer/cockpit,petervo/cockpit,moraleslazaro/cockpit,moraleslazaro/cockpit,moraleslazaro/cockpit,Scribery/cockpit,michalskrivanek/cockpit,garrett/cockpit,cockpit-project/cockpit,cockpituous/cockpit,andreasn/cockpit,mareklibra/cockpit,harishanand95/cockpit,deryni/cockpit,michalskrivanek/cockpit,petervo/cockpit,petervo/cockpit,larsu/cockpit,xhad/cockpit,dperpeet/cockpit,mareklibra/cockpit,xhad/cockpit,petervo/cockpit,moraleslazaro/cockpit,cockpituous/cockpit,mareklibra/cockpit,harishanand95/cockpit,cockpit-project/cockpit,deryni/cockpit,michalskrivanek/cockpit,martinpitt/cockpit,mvollmer/cockpit,andreasn/cockpit,petervo/cockpit,mareklibra/cockpit,dperpeet/cockpit,dperpeet/cockpit,SotolitoLabs/cockpit,Scribery/cockpit,stefwalter/cockpit,larskarlitski/cockpit,larsu/cockpit,deryni/cockpit,michalskrivanek/cockpit