Create an image pull Secret with oc
Create an image pull Secret with oc to allow Dev Workspace Pods to access container registries that require authentication.
Before you begin
- You have an active
ocsession with administrative permissions to the OpenShift cluster. See This page is not included, but the link has been rewritten to point to the nearest parent document.Getting started with the CLI.
Procedure
Results
- Verify the Secret exists and has the required labels:
$ oc get secret <Secret_name> --show-labels