You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 28, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: docs/_documentations/openshiftregistry.md
+7-18
Original file line number
Diff line number
Diff line change
@@ -66,23 +66,12 @@ Some of the following instructions were adapted from [Remotely Push and Pull Con
66
66
```
67
67
6. Copy the value from the **token** field.
68
68
69
-
### OpenShift registry in Che and Codewind
70
-
71
-
#### Adding the OpenShift registry in Che
72
-
1. Open the Che dashboard and select the **Administration** tab.
73
-
2. Click the **Add Registry** button.
74
-
3. Enter the following information:
75
-
- Enter `docker-registry.default.svc:5000` as the address for OKD version 3.
76
-
- Enter `image-registry.openshift-image-registry.svc:5000` as the address for OCP version 4.
77
-
- Enter the service account name as the username.
78
-
- Enter the token retrieved from the service account token secret as the password.
79
-
4. Click **Add**.
80
-
81
-
#### Adding the OpenShift registry in Codewind
69
+
### Adding the OpenShift registry in Codewind
82
70
After the internal Docker registry credentials are added to Che as a Docker registry, you can use the credentials in Codewind.
83
71
1. Create or open a Codewind workspace.
84
-
- **Note:** If you open an existing workspace, you must stop and start the workspace before the registry credentials take effect.
85
-
2. Run the `Codewind: Set Deployment Registry` command.
86
-
3. Enter `docker-registry.default.svc:5000/<project>` as the deployment registry, where `<project>` is the OpenShift project that you created the service account in.
0 commit comments