BCDevOps / OpenShift4-Migration

Scripts and info for Ministry teams migration from OpenShift 3.11 to 4.x
Apache License 2.0
3 stars 0 forks source link

Assigning privileges between namespaces #22

Closed garywong-bc closed 2 years ago

garywong-bc commented 3 years ago

In OpenShift 3, each of our namespaces could pull images from the tools namespace and this was easily done in the UI using the membership page. But in OCP4, in trying to "create binding", it is not straight-forward to select system:image-puller as a role nor a default namespace ServiceAccount as subject.

In OCP4, use oc policy add-role-to-user to grant permissions; remember that when granting access from a different account you need the fully qualified name.

RocketChat Reference(s):