mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-03 14:37:44 +01:00
Fix some misspells in file
Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
This commit is contained in:
parent
4cb49e5388
commit
33b7c41f8b
@ -65,7 +65,7 @@ These Basic Configuration must be set. Otherwise you can't deploy Harbor on Kube
|
||||
path: /data/registry
|
||||
```
|
||||
|
||||
For more infomation about storage solution, Please check [Kubernetes Document](http://kubernetes.io/docs/user-guide/persistent-volumes/)
|
||||
For more information about storage solution, Please check [Kubernetes Document](http://kubernetes.io/docs/user-guide/persistent-volumes/)
|
||||
|
||||
Then you can generate ConfigMap files by :
|
||||
|
||||
@ -94,7 +94,7 @@ You can find all configs of Harbor in `make/kubernetes/templates/`. There are sp
|
||||
|
||||
- `jobservice.cm.yaml`: ENV and web config of jobservice
|
||||
- `mysql.cm.yaml`: Root password of MySQL
|
||||
- `ingress.yaml`: Https certification and ingress config. If you are fimiliar with ingress, you can modify it.
|
||||
- `ingress.yaml`: Https certification and ingress config. If you are familiar with ingress, you can modify it.
|
||||
- `registry.cm.yaml`: Token service certification and registry config
|
||||
Registry use filesystem to store data of images. You can find it like:
|
||||
|
||||
@ -108,7 +108,7 @@ You can find all configs of Harbor in `make/kubernetes/templates/`. There are sp
|
||||
- `ui.cm.yaml`: Token service private key, ENV and web config of ui.
|
||||
- `adminserver.cm.yaml`: Initial values of configuration attributes of Harbor.
|
||||
|
||||
`ui`, `jobservice` and `adminserver` are powered by beego. If you are fimiliar with beego, you can modify configs in `ui.cm.yaml`, `jobservice.cm.yaml` and `adminserver.cm.yaml`.
|
||||
`ui`, `jobservice` and `adminserver` are powered by beego. If you are familiar with beego, you can modify configs in `ui.cm.yaml`, `jobservice.cm.yaml` and `adminserver.cm.yaml`.
|
||||
|
||||
|
||||
### Running
|
||||
|
@ -156,7 +156,7 @@ paths:
|
||||
description: Unexpected internal errors.
|
||||
'/projects/{project_id}':
|
||||
get:
|
||||
summary: Return specific project detail infomation
|
||||
summary: Return specific project detail information
|
||||
description: |
|
||||
This endpoint returns specific project information by project ID.
|
||||
parameters:
|
||||
@ -707,7 +707,7 @@ paths:
|
||||
get:
|
||||
summary: Get current user info.
|
||||
description: |
|
||||
This endpoint is to get the current user infomation.
|
||||
This endpoint is to get the current user information.
|
||||
tags:
|
||||
- Products
|
||||
responses:
|
||||
|
@ -23,7 +23,7 @@ import { RequestQueryParams } from "./RequestQueryParams";
|
||||
*/
|
||||
export abstract class ProjectService {
|
||||
/**
|
||||
* Get Infomations of a specific Project.
|
||||
* Get Informations of a specific Project.
|
||||
*
|
||||
* @abstract
|
||||
* ** deprecated param {string|number} [projectId]
|
||||
|
@ -46,7 +46,7 @@ class TestProjects(unittest.TestCase):
|
||||
3. Add user(UA) as a member of project(PA) with project-admin role;
|
||||
4. Get private project of user(UA), user(UA) can see only one private project which is project(PA);
|
||||
5. Create a new repository(RA) and tag(TA) in project(PA) by user(UA);
|
||||
6. Send scan image command and get tag(TA) infomation to check scan result, it should be finished;
|
||||
6. Send scan image command and get tag(TA) information to check scan result, it should be finished;
|
||||
Tear down:
|
||||
1. Delete repository(RA) by user(UA);
|
||||
2. Delete project(PA);
|
||||
@ -78,7 +78,7 @@ class TestProjects(unittest.TestCase):
|
||||
#5. Create a new repository(RA) and tag(TA) in project(PA) by user(UA);
|
||||
TestProjects.repo_name, tag = push_image_to_project(project_scan_image_name, harbor_server, user_scan_image_name, user_001_password, image, src_tag)
|
||||
|
||||
#6. Send scan image command and get tag(TA) infomation to check scan result, it should be finished;
|
||||
#6. Send scan image command and get tag(TA) information to check scan result, it should be finished;
|
||||
self.repo.scan_image(TestProjects.repo_name, tag, **TestProjects.USER_SCAN_IMAGE_CLIENT)
|
||||
self.repo.check_image_scan_result(TestProjects.repo_name, tag, expected_scan_status = "finished", **TestProjects.USER_SCAN_IMAGE_CLIENT)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user