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 Getting started with the CLI.
Procedure
Results
- Verify the Secret exists and has the required labels:
$ oc get secret <Secret_name> --show-labels
Related concepts