Use an alternative extension registry
Use an alternative Open VSX registry instance instead of the default embedded registry. Switch to the public open-vsx.org registry for internet-connected environments, or to a standalone on-premises instance for full control over available extensions.
Before you begin
- You have administrator access to the OpenShift cluster where OpenShift Dev Spaces is deployed.
- You have an active
ocsession with administrative permissions. See This page is not included, but the link has been rewritten to point to the nearest parent document.Getting started with the CLI.
About this task
The default is the embedded instance of the Open VSX registry.
If the default Open VSX registry instance does not meet your requirements, you can select one of the following instances:
- The Open VSX registry instance at
https://open-vsx.orgthat requires access to the internet. - A standalone Open VSX registry instance that is deployed on a network accessible from OpenShift Dev Spaces workspace pods.
Procedure
CheCluster custom resource to update the openVSXURL value:
spec:
components:
pluginRegistry:
openVSXURL: "<url_of_an_open_vsx_registry_instance>"where:
-
<url_of_an_open_vsx_registry_instance> -
The URL of the Open VSX registry instance. For example:
openVSXURL: "https://open-vsx.org".- To select the embedded Open VSX registry instance in the
plugin-registrypod, useopenVSXURL: ''. You can customize the list of included extensions. See Add or remove extensions in a workspace or Add or remove extensions from the Linux command line. - You can also point
openVSXURLat the URL of a standalone Open VSX registry instance. The URL must be accessible from within your organization’s cluster and not blocked by a proxy.
Note:To ensure the stability and performance of the community-supported Open VSX Registry, API usage is organized into defined tiers. The Eclipse Foundation implements these limits to protect infrastructure from high-frequency automated traffic and to provide consistent service quality for all users. For more information, see Content from github.com is not included.Rate Limits and Usage Tiers and the Content from github.com is not included.open-vsx.org wiki.
Important:Using Content from open-vsx.org is not included.https://open-vsx.org is not recommended in an air-gapped environment, isolated from the internet. To reduce the risk of malware infections and unauthorized access to your code, use the embedded or self-hosted Open VSX registry with a curated set of extensions.
Warning:Due to the dedicated Microsoft Content from cdn.vsassets.io is not included.Terms of Use, Content from marketplace.visualstudio.com is not included.Visual Studio Code Marketplace is not supported by Red Hat OpenShift Dev Spaces.
- To select the embedded Open VSX registry instance in the
Results
- Confirm that the
plugin-registrypod has restarted and is running. - Open a workspace and verify that extensions are available from the selected registry instance in the Extensions view.