Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

[Feature request] add information about catalog and chart version #47

Open
alexisdondon opened this issue Aug 19, 2022 · 2 comments
Open

Comments

@alexisdondon
Copy link

alexisdondon commented Aug 19, 2022

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
Copy link
Author

alexisdondon commented Aug 19, 2022

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.

@fcomte
Copy link
Contributor

fcomte commented Aug 19, 2022

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants