Wiki source code of Harbor
Version 2.2 by George Stamate on 2026/05/07 17:13
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
1.1 | 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 | |||
| |
2.1 | 10 | * [[Harbor 2.10 Robot Accounts>>Harbor 2.10 Robot Accounts]] |
| 11 | * [[Harbor 2.7 CLI Credentials for Harbor users>>Harbor 2.7 CLI Credentials for Harbor users]] | ||
| 12 | * [[Harbor 2.7 Robot Accounts>>Harbor 2.7 Robot Accounts]] | ||
| 13 | * [[Trivy Security Scanner>>doc:.Trivy Security Scanner.WebHome]] | ||
| |
1.2 | 14 | |
| |
1.1 | 15 | = Enter Harbor = |
| 16 | |||
| 17 | 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. | ||
| 18 | |||
| 19 | [[image:attach:image-2024-2-14_13-24-37.png||data-xwiki-image-style-border="true" queryparams="effects=drop-shadow" height="201" width="395"]] | ||
| 20 | |||
| 21 | If Harbor access is enabled for your user, the displayed links are clickable. | ||
| 22 | |||
| 23 | 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. | ||
| 24 | |||
| 25 | [[image:attach:Screenshot 2024-02-09 095501.png||data-xwiki-image-style-border="true" queryparams="effects=drop-shadow" height="84" width="1034"]] | ||
| 26 | |||
| 27 | Now click on Harbor and a new browser tab will open it for you. | ||
| 28 | |||
| 29 | You will be redirected to the Harbor login page, if you don't have a running session in Harbor. | ||
| 30 | |||
| 31 | Simply click the first of the two buttons. For Harbor 2.7 the button label is **LOGIN VIA OIDC PROVIDER.** | ||
| 32 | |||
| 33 | [[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"]] | ||
| 34 | |||
| 35 | |||
| 36 | For Harbor 2.10 and above, the button label is **LOGIN WITH Keycloak.** | ||
| 37 | |||
| 38 | [[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"]] | ||
| 39 | |||
| 40 | = Projects in Harbor = | ||
| 41 | |||
| 42 | 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. | ||
| 43 | |||
| 44 | [[image:attach:image-2024-2-14_13-48-29.png||queryparams="effects=drop-shadow" height="400"]] | ||
| 45 | |||
| 46 | 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. | ||
| 47 | |||
| 48 | [[image:1736871589147-190.png]] | ||
| 49 | |||
| 50 | 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. |