mirror of
https://github.com/goharbor/harbor.git
synced 2024-09-18 08:41:10 +02:00
25 lines
1.4 KiB
Markdown
25 lines
1.4 KiB
Markdown
# Create Labels
|
|
|
|
Harbor provides two kinds of labels to isolate kinds of resources(only images for now):
|
|
* **Global Level Label**: Managed by system administrators and used to manage the images of the whole system. They can be added to images under any projects.
|
|
* **Project Level Label**: Managed by project administrators under a project and can only be added to the images of the project.
|
|
|
|
### Managing global level labels
|
|
The system administrators can list, create, update and delete the global level labels under `Administration->Configuration->Labels`:
|
|
|
|
![manage global level labels](../img/manage_global_level_labels.png)
|
|
|
|
### Managing project level labels
|
|
The project administrators and system administrators can list, create, update and delete the project level labels under `Labels` tab of the project detail page:
|
|
|
|
![manage project level labels](../img/manage_project_level_labels.png)
|
|
|
|
### Adding labels to/remove labels from images
|
|
Users who have system administrator, project administrator or project developer role can click the `ADD LABELS` button to add labels to or remove labels from images. The label list contains both globel level labels(come first) and project level labels:
|
|
|
|
![add labels to images](../img/add_labels_to_images.png)
|
|
|
|
### Filtering images by labels
|
|
The images can be filtered by labels:
|
|
|
|
![filter images by labels](../img/filter_images_by_label.png) |