-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new fields in CheCluster CR to configure VS Code marketplace #21598
Comments
cc @l0rd you can specify the CR fields that you would like |
spec:
components:
devWorkspace
cheServer
pluginRegistry:
deployment
disableInternalRegistry
externalPluginRegistries
+ externalOpenVSXRegistryURL: https://openvsx.org # If not set use the embedded one
devfileRegistry
database
dashboard
imagePuller
metrics
containerRegistry
gitServices
devEnvironments
networking |
Do we need to put |
from what I understand, it should be empty by default (then it'll use the one from plugin registry) |
Yes, if the field is missing or left empty we should use the openvsx embedded in the plug-in registry. That's how most of our customers will use it anyway. On developer sandbox though I would explicitly configure Dev Spaces to use openvsx.org. |
I suggest to use list of urls in configuring open VSC registries. // External open VSC registries.
// +optional
ExternalOpenVSXRegistries []ExternalOpenVSXRegistry `json:"externalOpenVSXRegistries,omitempty"`
type ExternalOpenVSXRegistry struct {
Url string `json:"url,omitempty"`
} |
Something that becomes critical is providing to customers an easy way to customize and update the embedded openvsx registry: How do I add or remove a vsx? |
@tolusha about the list, VS Code is only working with one registry for now (and since the beginning) so I'm not sure a list will work there (or it will always be a list of zero or one) |
After discussing with @benoitf we concluded that the simpler is to just have: spec:
components:
devWorkspace
cheServer
pluginRegistry:
deployment
disableInternalRegistry
externalPluginRegistries
+ openVSXRegistryURL: https://openvsx.org/ # If not set or empty use the URL of the one embedded with the plugin reg
devfileRegistry
database
dashboard
imagePuller
metrics
containerRegistry
gitServices
devEnvironments
networking |
Is your enhancement related to a problem? Please describe
Currently che is using https://open-vsx.org but as for Airgapped mode, offline, etc we have a way to use OpenVSX instance embedded in the plug-in registry.
Then Admin should be able to configure the registry to use
so , che-code is able to get the value and see if it configures the registry to open-vsx.org or a corporate OpenVSX or something else
Part of #20549
Describe the solution you'd like
spec: components: devWorkspace cheServer pluginRegistry: deployment disableInternalRegistry externalPluginRegistries + OpenVSXURL: https://openvsx.org # If not set use the embedded one devfileRegistry database dashboard imagePuller metrics containerRegistry gitServices devEnvironments networking
Describe alternatives you've considered
any change/suggestion is welcomed
we only need to know when cheCode is booting the URL to use to fetch the VSIX files :-)
Additional context
No response
The text was updated successfully, but these errors were encountered: