Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide opportunity for users to lookup currently deployed metal-stack version #11

Closed
Gerrit91 opened this issue Sep 7, 2020 · 4 comments

Comments

@Gerrit91
Copy link
Contributor

Gerrit91 commented Sep 7, 2020

At the moment, a user cannot find out on his own which metal-stack version is deployed in an environment. It is only known by the people who deploy the software (operators). A user can query the metal-api version endpoint, but it is not possible to deduce the actual metal-stack release from that.

However, it would be very useful for users to have this information such that they can automatically pull and use compatible clients to access the metal-api.

Question is if it does make sense to make the metal-stack version obtainable because operators can theoretically diverge from metal-stack releases with individual components such that there is no guarantee anymore that clients belong together.

Probably relates to metal-stack/metalctl#5.

@majst01
Copy link
Contributor

majst01 commented Sep 17, 2020

Proposal:

  • metalctl update do checks against metal-api/version endpoint from which release this was deployed, fetching metalctl will then use the version specified in the metal-stack/release

same applies for cloudctl

@majst01
Copy link
Contributor

majst01 commented Apr 29, 2021

should be also exposed via the version endpoint

@Gerrit91
Copy link
Contributor Author

Gerrit91 commented Jun 9, 2022

But the same metal-api/version can be used over many releases of metal-stack.

Even if it's a bit weird, I another option is that the metal-api get's a flag for the release version and this can be injected through deployment.

@Gerrit91
Copy link
Contributor Author

Gerrit91 commented Jul 8, 2024

Done with metal-stack/metal-api#546,

@Gerrit91 Gerrit91 closed this as completed Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants