-
Notifications
You must be signed in to change notification settings - Fork 67
Description
After #1028 is complete, ClusterExtension
users will have a minimum level of control over selection of catalogs. However more control may be desirable on the ClusterCatalog
side.
In this epic, we will explore two additional controls around how this selection works.
- Adding a prioritization field on the
ClusterCatalog
spec. - Adding a field that helps define the policy for when a catalog should be used for resolution.
Open Questions:
-
With a priority field, how would the tie breaker work? Would it be:
a. "if packagefoo
exists in multiple catalogs, only resolve from the highest priority catalog" OR
b. "if packagefoo
exists in multiple catalogs AND both catalogs have the same highest version, only then use the catalog priority to choose a winnerI think option (a) is the least surprising of the two.
-
Is it strange or awkward if we end up with APIs in
ClusterCatalog
andClusterExtension
that contribute to the selection criteria? Going further, would it be a breaking change if we added something likeenabled: false
to the ClusterCatalog because old clients might exist that are unaware of the new field and would assume that allClusterCatalogs
are enabled?
Metadata
Metadata
Assignees
Labels
Type
Projects
Status