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

Commit 4a09712

Browse files
authored
Merge pull request #268 from j-c-berger/jcberger_1488_openshiftregistry
changed references to
2 parents d92054d + 6299cf8 commit 4a09712

File tree

1 file changed

+6
-20
lines changed

1 file changed

+6
-20
lines changed

docs/_documentations/openshiftregistry.md

+6-20
Original file line numberDiff line numberDiff line change
@@ -66,25 +66,11 @@ 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-
### Adding the OpenShift registry in Che
70-
1. Open the Che dashboard and select the **Administration** tab.
71-
![Screen Shot 2019-08-22 at 12 18 51 PM](https://user-images.githubusercontent.com/6880023/63531743-2d633580-c4d7-11e9-9960-ae5470398a3f.png)
72-
2. Click the **Add Registry** button.
73-
3. Enter the following information:
74-
- Enter `docker-registry.default.svc:5000` as the address.
75-
- Enter the service account name as the username.
76-
- Enter the token retrieved from the service account token secret as the password.
77-
![Screen Shot 2019-08-22 at 12 19 38 PM](https://user-images.githubusercontent.com/6880023/63531755-32c08000-c4d7-11e9-8fae-74799b50d549.png)
78-
4. Click **Add**.
79-
![Screen Shot 2019-08-22 at 12 19 41 PM](https://user-images.githubusercontent.com/6880023/63531760-348a4380-c4d7-11e9-8fa8-5cef7fbdcac0.png)
80-
8169
### Adding the OpenShift registry in Codewind
82-
After the internal Docker registry credentials are added to Che as a Docker registry, you can use the credentials in Codewind.
8370
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.
85-
2. Run the `Codewind: Set Deployment Registry` command.
86-
![Screen Shot 2019-08-22 at 12 53 19 PM](https://user-images.githubusercontent.com/6880023/63533949-e592dd00-c4db-11e9-99d6-906a8c5edf21.png)
87-
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.
88-
- Example: `docker-registry.default.svc:5000/pushed`
89-
![Screen Shot 2019-08-22 at 12 53 24 PM](https://user-images.githubusercontent.com/6880023/63534021-1c68f300-c4dc-11e9-937f-a3903e12456d.png)
90-
4. Click **enter**.
71+
2. Run the command, `Codewind: Image Registry Manager`.
72+
3. Enter `docker-registry.default.svc:5000` as the `Address` (`image-registry.openshift-image-registry.svc:5000` for OCP version 4).
73+
4. Enter the service account name as the `username`.
74+
5. Enter the token retrieved from the service account token secret as the `password`.
75+
6. Enter `<project>` as `namespace`, where `<project>` is the OpenShift project where you created the service account.
76+
7. Click **enter**.

0 commit comments

Comments
 (0)