Skip to content
This repository was archived by the owner on Nov 28, 2022. It is now read-only.

Commit 6067f78

Browse files
committed
merged instructions
Signed-off-by: Jacob Berger <[email protected]>
1 parent 618d70f commit 6067f78

File tree

1 file changed

+7
-18
lines changed

1 file changed

+7
-18
lines changed

docs/_documentations/openshiftregistry.md

+7-18
Original file line numberDiff line numberDiff line change
@@ -66,23 +66,12 @@ Some of the following instructions were adapted from [Remotely Push and Pull Con
6666
```
6767
6. Copy the value from the **token** field.
6868
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
8270
After the internal Docker registry credentials are added to Che as a Docker registry, you can use the credentials in Codewind.
8371
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.
87-
- Example: `docker-registry.default.svc:5000/pushed`
88-
4. Click **enter**.
72+
2. Run the command, `Codewind: Image Registry Manager`.
73+
3. Enter `docker-registry.default.svc:5000` as the `Address` (`image-registry.openshift-image-registry.svc:5000` for OCP version 4).
74+
4. Enter the service account name as the `username`.
75+
5. Enter the token retrieved from the service account token secret as the `password`.
76+
6. Enter `<project>` as `namespace`, where `<project>` is the OpenShift project where you created the service account.
77+
7. Click **enter**.

0 commit comments

Comments
 (0)