legacy-onyxia-entrypoint
legacy-onyxia-entrypoint copied to clipboard
[Feature request] add information about catalog and chart version
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)
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.
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.