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

I changed my GitHub ID and now I cannot see my namespaces in Openshift #76

Closed mitovskaol closed 2 years ago

mitovskaol commented 3 years ago

We use membership in BCDevOps org in GitHub to control user access to the Openshift 4 Console. Access to the namespaces is set up within Openshift itself by the namespace admins. User authentication when accessing the Openshift 4 Console is handled by the KeyCloak SSO service.

When you change your GitHub ID, it messes up with your account record in both systems - KeyCloak SSO and Openshift - that store a cache your GitHub ID. To resolve the access issues, follow the steps below.

Step 1: Ask your PO or Tech Lead to remove your old user from the namespaces in Openshift where you had access before.
Step 3: To force the refresh of your account record, contact the Platform Services Team at PlatformServicesTeam@gov.bc.ca and request the following:

Step 4: After this ask your PO or Tech Lead to add your new GitHub ID to BCDevOps and bcgov orgs using the Just Ask! tool and then add your user to the namespaces that you need to have access to.

After these steps, clear your browser cache , and log into the Openshift 4 Console. You should see the list of projects to which you've been given access to in Step 4.