Skip to content

Commit

Permalink
Fix: modify the registry usage examples for gitlab and github type
Browse files Browse the repository at this point in the history
Signed-off-by: zhaohuihui <[email protected]>
  • Loading branch information
zhaohuiweixiao committed May 15, 2023
1 parent eb18ee3 commit 23c8475
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ vela addon registry add [flags]

```
add a helm repo registry: vela addon registry add --type=helm my-repo --endpoint=<URL>
add a github registry: vela addon registry add my-repo --type git --endpoint=<URL> --path=<ptah> --token=<git token>"
add a gitlab registry: vela addon registry add my-repo --type gitlab --endpoint=<URL> --gitlabRepoName=<repoName> --path=<path> --token=<git token>
add a github registry: vela addon registry add my-repo --type git --endpoint=https://github.com/kubevela/catalog --path=addons --gitToken=<git token>
add a gitlab registry: vela addon registry add my-repo --type gitlab --endpoint=http://gitlab.cmss.com/xxx/catalog --path=addons --gitlabRepoName=catalog --gitToken=<git token>
```

### Options
Expand All @@ -26,11 +26,11 @@ add a gitlab registry: vela addon registry add my-repo --type gitlab --endpoint=
--bucket string specify the OSS bucket name
--endpoint string specify the addon registry endpoint
--gitToken string specify the github repo token
--gitlabRepoName string specify the gitlab addon registry repoName
--gitlabRepoName string specify the gitlab addon registry repoName, this option must be set when registry is gitlab
-h, --help help for add
--insecureSkipTLS specify the Helm addon registry skip tls verify
--password string specify the Helm addon registry password
--path string specify the addon registry OSS path
--path string specify the addon registry path, this option must be set when addons are not in root of registry
--type string specify the addon registry type
--username string specify the Helm addon registry username
```
Expand Down

0 comments on commit 23c8475

Please sign in to comment.