Skip to content

Add version to the status of K0smotronControlPlane#826

Merged
makhov merged 1 commit intok0sproject:mainfrom
makhov:k0smotron-cluster-version
Nov 25, 2024
Merged

Add version to the status of K0smotronControlPlane#826
makhov merged 1 commit intok0sproject:mainfrom
makhov:k0smotron-cluster-version

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
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