legacy-onyxia-entrypoint icon indicating copy to clipboard operation
legacy-onyxia-entrypoint copied to clipboard

[Feature request] add information about catalog and chart version

Open alexisdondon opened this issue 2 years ago • 2 comments

Add information about catalog and chart version

Issue

When deploying new catalog chart version for an onyxia catalog, we dont need to redeploy onyxia api since the api could fetch the catalog based on configuration settings.

Anyway there is no real visual indication about when the catalog is updated, when there is multiple api pod the problem could be harder as one api could have updated catalog and another not yet.

Workaround

Display in each card the version of the chart in the catalogue in small caracter ( the api already give it in /catalog endpoint)

alexisdondon avatar Aug 19 '22 09:08 alexisdondon

FEATURE EXTENSION

In case of multiple instances of api, we could extend this feature to include the chart version in the request (payload or header) the instance of api on which the request will be send could :

if version of the chart sent is the same that his current version chart then the instance could handle the request else on your choice return an error or force the refresh of catalog.

alexisdondon avatar Aug 19 '22 11:08 alexisdondon

I think we should go further and handle all versions of a chart :

  • onyxia api must send all versions of a charts
  • deployment calls should specify the version (it's already the case I guess)

It will help us to show to our user that some of their saved services is an old versions of a chart.

fcomte avatar Aug 19 '22 11:08 fcomte