vela helm registry add
Add or replace a Helm chart registry.
Synopsis
Add a Helm chart registry, or replace one with the same name.
URL is an oci:// address (oci://HOST/PATH) for an OCI registry, or an https:// address (https://HOST/PATH) for a Helm repository or chart download host. The path is optional. A chart matches when its oci:// source, its download URL, or its repoURL has the same scheme and host, and the registry path is a whole-segment prefix of the chart path: a registry at /helm matches /helm/app, not /helm-private/app. The longest match wins.
Credentials are stored in a Secret in the KubeVela system namespace. Either pass --username with --password or --password-stdin, and the command creates the Secret, or pass --secret to use a Secret you created, in any format chart.auth accepts.
Choose which Application namespaces may use the registry with --namespaces, or allow all of them with --all-namespaces.
vela helm registry add NAME URL [flags]
Examples
Add a JFrog OCI registry for two namespaces:
printf '%s' "$TOKEN" | vela helm registry add jfrog oci://acme.jfrog.io/helm --username ci --password-stdin --namespaces team-a,team-b
Add a Helm repository for every namespace, using an existing Secret in vela-system:
vela helm registry add charts https://charts.example.com --secret charts-creds --all-namespaces
Options
--all-namespaces let Applications in every namespace use the registry
-h, --help help for add
--insecure-skip-tls-verify skip TLS certificate verification (only with --username)
--namespaces strings Application namespaces that may use the registry
--password string password or token for the registry; prefer --password-stdin
--password-stdin read the password from stdin
--plain-http use plain HTTP for an oci:// registry (only with --username)
--secret string an existing credentials Secret in the KubeVela system namespace, instead of --username and --password
--username string username for the registry; the command stores it in a new Secret
Options inherited from parent commands
-V, --verbosity Level number for the log level verbosity
-y, --yes Assume yes for all user prompts
SEE ALSO
- vela helm registry - Manage Helm chart registries.