kubevela.github.io/i18n/zh/docusaurus-plugin-content-docs/version-v1.10/cli/vela_addon_registry_add.md

2.0 KiB

title
vela addon registry add

Add an addon registry.

Synopsis

Add an addon registry.

vela addon registry add [flags]

Examples

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=<path> --gitToken=<git token>
add a specified 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=<URL> --gitlabRepoName=<repoName> --path=<path> --gitToken=<git token>
add a specified gitlab registry: vela addon registry add my-repo --type gitlab --endpoint=http://gitlab.xxx.com/xxx/catalog --path=addons --gitlabRepoName=catalog --gitToken=<git token>

Options

      --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, 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 path, 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

Options inherited from parent commands

  -V, --verbosity Level   number for the log level verbosity
  -y, --yes               Assume yes for all user prompts

SEE ALSO

Go Back to CLI Commands Homepage.

Auto generated by spf13/cobra script in KubeVela.