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

Add version to the status of K0smotronControlPlane #826

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

makhov
Copy link
Contributor

@makhov makhov commented Nov 22, 2024

Fixes #819

@makhov makhov requested a review from a team as a code owner November 22, 2024 13:20
@makhov makhov added the bug Something isn't working label Nov 22, 2024
Copy link
Contributor

@apedriza apedriza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need to change to version instead string as field value and generate it again. Otherwise it will display:

Screenshot 2024-11-25 at 09 59 54

ExternalManagedControlPlane bool `json:"externalManagedControlPlane"`
Ready bool `json:"ready"`
ControlPlaneReady bool `json:"controlPlaneReady"`
Version string `json:"string"`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Version string `json:"string"`
Version string `json:"version"`

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heh, great catch, thanks! Fixed

Signed-off-by: Alexey Makhov <amakhov@mirantis.com>
@makhov makhov force-pushed the k0smotron-cluster-version branch from 19ef6c4 to 71708c6 Compare November 25, 2024 09:42
@makhov makhov merged commit bc69797 into k0sproject:main Nov 25, 2024
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

missing version field in status of k0smotronControlPlane
2 participants