Mechanism to expose a list of devfile registries at a namespace and cluster level #499
Labels
area/registry
Devfile registry for stacks and infrastructure
future
Items in consideration to be added to future spec levels
The devfile registry supports users to install their own private registry in a cluster using helm and operator. It will be useful to standardize a way to allow tools to be able to discover the devfile registry installed on a cluster and interact with it.
Currently, when a devfile registry is being deployed on a cluster, the deployment already includes a standard label
app=devfileregistry
in the deployed registry. This allows tools, e.g. odo, Che, etc. to easily find the devfile registries:Requirements:
This item includes:
5. When a devfile registry is uninstalled, the registry list CR should be updated to reflect that. If the uninstalled devfile registry is the only entry on the list, the CR will be removed as part of the clean-up.We will not do this since tools may have a reliance on the CR and/or may cause race conditions if a delete happens while someone is trying to update.Update: 05/12/22
As discussed in prior team meetings, we will not implement the auto-discovery mechanism. We will opt for a more straightforward approach to allow admins/users to manually add devfile registry URLs to cluster/namespace scoped CRs. Clients can use the CR lists to iterate through the devfile registries and expose the stacks/samples in their tooling catalog (as an example).
The new CRs will have a validating webhook to verify the following:
The new CRs will be part of the existing registry-operator where we will introduce new controllers to manage their state.
Target Date: 07-15-2022
The text was updated successfully, but these errors were encountered: