odo registry
odo uses the portable devfile format to describe the components. odo can connect to various devfile registries to download devfiles for different languages and frameworks.
You can connect to publicly available devfile registries, or you can install your own Secure Registry.
You can use the odo registry
command to manage the registries used by odo to retrieve devfile information.
#
Listing the registriesYou can use the following command to list the registries currently contacted by odo:
For example:
DefaultDevfileRegistry
is the default registry used by odo; it is provided by the devfile.io project.
#
Adding a registryYou can use the following command to add a registry:
For example:
If you are deploying your own Secure Registry, you can specify the personal access token to authenticate to the secure registry with the --token
flag:
#
Deleting a registryYou can delete a registry with the command:
For example:
You can use the --force
(or -f
) flag to force the deletion of the registry without confirmation.
#
Updating a registryYou can update the URL and/or the personal access token of a registry already registered with the command:
For example:
You can use the --force
(or -f
) flag to force the update of the registry without confirmation.