vela crate registry add
Add a crate registry.
Synopsis
Add a named OCI registry that crates are published to and fetched from.
vela crate registry add NAME OCI_URL [flags]
Examples
Add an OCI registry:
vela crate registry add catalog oci://ghcr.io/kubevela/crates
Add an OCI registry, reading the password from stdin:
printf '%s' "$PASSWORD" | vela crate registry add ghcr oci://ghcr.io/org/crates --username robot --password-stdin
Re-adding an existing name overwrites it in place, same as vela addon registry add:
vela crate registry add catalog oci://ghcr.io/org/fork
Options
-h, --help help for add
--password string password for an OCI registry
--password-stdin read the OCI registry password from stdin
--type string registry type; only "oci" is supported, and it is inferred from the URL when omitted
--username string username for an OCI registry
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 crate registry - Manage crate registries.