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
+9-11Lines changed: 9 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,25 +66,23 @@ 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
-
### Adding the OpenShift registry in Che
69
+
### OpenShift registry in Che and Codewind
70
+
71
+
#### Adding the OpenShift registry in Che
70
72
1. Open the Che dashboard and select the **Administration** tab.
71
-

72
73
2. Click the **Add Registry** button.
73
74
3. Enter the following information:
74
-
- Enter `image-registry.openshift-image-registry.svc:5000` as the address.
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.
75
77
- Enter the service account name as the username.
76
78
- Enter the token retrieved from the service account token secret as the password.
77
-

78
79
4. Click **Add**.
79
-

80
80
81
-
### Adding the OpenShift registry in Codewind
81
+
#### Adding the OpenShift registry in Codewind
82
82
After the internal Docker registry credentials are added to Che as a Docker registry, you can use the credentials in Codewind.
83
83
1. Create or open a Codewind workspace.
84
-
- **Note:** If you're opening an existing workspace, you must stop and start the workspace before the registry credentials take effect.
84
+
- **Note:** If you open an existing workspace, you must stop and start the workspace before the registry credentials take effect.
85
85
2. Run the `Codewind: Set Deployment Registry` command.
86
-

87
-
3. Enter `image-registry.openshift-image-registry.svc:5000/<project>` as the deployment registry, where `<project>` is the OpenShift project that you created the service account in.

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