-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Expose /api/version from gui #4312
Comments
I agree |
I can look into this. Some details:
Here is the full output from my dev environment:
|
I've discovered that the information for things, esp helm version can vary between components (argocd-server vs argocd-repo-server), so a right anchored object ala https://cd.apps.argoproj.io/applications/cert-manager?resource=&conditions=true would be good. I think the whole thing in a pretty form w/ a cute 📋 button to copy JSON. As for the tooltip, I'm fine w/ keeping that, but it'd probably also be ok to lose it. |
Currently the Kustomize and Helm versions are stringified JSON objects in slightly different forms (note both versions don't quote the values, so it's not actually parseable). The CLI reports these versions exactly as pasted in my previous comment in I think as part of this PR I would like to parse these versions on the server-side and turn them into a user-friendly form. If it's OK, I will probably use the same version format that ArgoCD uses with the version, +, and first 8 characters of commit.
edit: The helm version is as above, the Kustomize version has the build date instead. These are what is given by |
Summary
https://cd.apps.argoproj.io/api/version exists and actually has interesting/important information
Motivation
especially the helm version, as some things require helm 3.3.1+.
Proposal
One way to expose the version info would be from the octopus/version field at the top left:
The text was updated successfully, but these errors were encountered: