Add the ability for an administrator to specify multiple external devfile registries #19781
Labels
area/che-operator
Issues and PRs related to Eclipse Che Kubernetes Operator
kind/enhancement
A feature request - must adhere to the feature request template.
new¬eworthy
For new and/or noteworthy issues that deserve a blog post, new docs, or emphasis in release notes
severity/P1
Has a major impact to usage or development of the system.
Milestone
Is your enhancement related to a problem? Please describe.
Prehistory: we want to have the ability to enable Community Devfile Registry on CodeReadyWorkspaces #19271
Che Dashboard has the ability to use multiple devfile registries, and Dashboard does not care if it's managed by the current Che Operator or external one eclipse-che/che-dashboard#5.
The way we configure Che instance is CheCluster CR.
Currently, CheCluster CR allows to use internal devfile registry (managed by Che Operator):
or use external one: any URL,URLs administrator configures in the corresponding fields:
Describe the solution you'd like
To cover the usecase described above, we need to mix both - we need to have the ability to use internal registry + configure some external ones.
The CheCluster format I see to cover it is the following:
Describe alternatives you've considered
Additional context
Not sure that it's important but DevSandbox(The first place where we're going to use this feature) is going to use single-host.
As a possible workaround for DevSandbox until it's not resolved:
note: https://explicit-link-to-the-internal-devfile-registry is provisioned by CRW on phase 1, it needs to be just kept
3. Dashboard should use both of registries.
4. The internal registry becomes
unmanaged
, after upgrade to newer version the configuration must be redone manually, so revert tospec.server.externalDevfileRegistry: false
. And after CRW operator did work and updated devfile registry deployment, go to step 2.Release Notes Text
Administrators are able to specify multiple external devfile registries in the
CheCluster
Kubernetes Custom Resource.The text was updated successfully, but these errors were encountered: