Wiki source code of Harbor
Last modified by DevOps-as-a-Service Operator on 2025/02/05 11:33
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | The DevOps functions //Docker registry //and// Helm chart repository// inside DevOps-as-a-Service are usually provided by [[Harbor>>url:https://goharbor.io/||rel="nofollow" shape="rect" class="external-link"]]. | ||
2 | |||
3 | [[Harbor>>url:https://goharbor.io/||rel="nofollow" shape="rect" class="external-link"]] is developed by the [[Cloud Native Computing Foundation,>>url:https://www.cncf.io/||rel="nofollow" shape="rect" class="external-link"]] which is part of the [[Linux Foundation>>url:https://www.linuxfoundation.org/||rel="nofollow" shape="rect" class="external-link"]]. | ||
4 | |||
5 | {{toc/}} | ||
6 | |||
7 | |||
8 | Additional information are available on the sub pages: | ||
9 | |||
10 | {{children/}} | ||
11 | |||
12 | = Enter Harbor = | ||
13 | |||
14 | Login to the DevOps Portal. On the Homepage, select the project you are interested in. If Harbor is enabled for the project, the Harbor tile is displayed on the dashboard. | ||
15 | |||
16 | [[image:attach:image-2024-2-14_13-24-37.png||data-xwiki-image-style-border="true" queryparams="effects=drop-shadow" height="201" width="395"]] | ||
17 | |||
18 | If Harbor access is enabled for your user, the displayed links are clickable. | ||
19 | |||
20 | As an alternative, you can also find the desired Project on the Projects page. If Harbor is enabled for the project, Harbor is listed in the Tools column. If a Harbor access is enabled for your user, Harbor is clickable. | ||
21 | |||
22 | [[image:attach:Screenshot 2024-02-09 095501.png||data-xwiki-image-style-border="true" queryparams="effects=drop-shadow" height="84" width="1034"]] | ||
23 | |||
24 | Now click on Harbor and a new browser tab will open it for you. | ||
25 | |||
26 | You will be redirected to the Harbor login page, if you don't have a running session in Harbor. | ||
27 | |||
28 | Simply click the first of the two buttons. For Harbor 2.7 the button label is **LOGIN VIA OIDC PROVIDER.** | ||
29 | |||
30 | [[image:attach:image-2024-2-14_13-44-54.png||alt="Harbor 2.10 Login page" queryparams="effects=drop-shadow" height="437" title="Harbor 2.10 Login page" width="325"]] | ||
31 | |||
32 | |||
33 | For Harbor 2.10 and above, the button label is **LOGIN WITH Keycloak.** | ||
34 | |||
35 | [[image:attach:image-2024-2-9_10-1-13.png||alt="Harbor 2.7 Login page" queryparams="effects=drop-shadow" height="391" title="Harbor 2.7 Login page" width="325"]] | ||
36 | |||
37 | = Projects in Harbor = | ||
38 | |||
39 | In the Harbor UI you will now see all the projects in which you have a role and** **public projects if there are any. See example screenshot below. | ||
40 | |||
41 | [[image:attach:image-2024-2-14_13-48-29.png||queryparams="effects=drop-shadow" height="400"]] | ||
42 | |||
43 | If you are already logged in to Harbor, it will not show you projects for which you received a role during the same session. To solve this problem, use the logout menu item in the Harbor UI in the top right corner. | ||
44 | |||
45 | [[image:1736871589147-190.png]] | ||
46 | |||
47 | After this, simply login again to Harbor like described above. The new Harbor session will correctly show you all projects you have currently access to. |