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

Missing output of cluster k8sVersion #408

Closed
printminion opened this issue Dec 4, 2023 · 0 comments · Fixed by #407
Closed

Missing output of cluster k8sVersion #408

printminion opened this issue Dec 4, 2023 · 0 comments · Fixed by #407
Assignees
Labels
bug Something isn't working

Comments

@printminion
Copy link
Contributor

printminion commented Dec 4, 2023

Description

Due to wrong json mapping the k8sVersion of cluster is not parsed.
According to documentation it should be possible

* filter by property: [apiSubnetAllowList availableUpgradeVersions k8sVersion maintenanceWindow name viableNodePoolVersions]

ionosctl k8s cluster list --verbose --cols ClusterId,k8sVersion,name
ClusterId                              Name
732bc882-ffff-oooo-oooo-18ff2d6d0bbe   foo-dev
362f552e-ffff-oooo-oooo-418cd25aa620   foo-live
44d3359b-ffff-oooo-oooo-73542a77dc81   foo-test

Expected behavior

ionosctl k8s cluster list --verbose --cols ClusterId,k8sVersion,name

Expected column with k8sVersion

ClusterId                              K8sVersion   Name
732bc882-ffff-ooo-ooo-18ff2d6d0bbe   1.25.12      foo-dev
362f552e-ffff-ooo-ooo-418cd25aa620   1.25.12      foo-live
44d3359b-ffff-ooo-ooo-73542a77dc81   1.25.12      foo-test

Environment

Go Version:

1.20

Ionosctl version:

6.7.1

OS:

ubuntu

Shell:

bash

Configuration Files

How to Reproduce

Steps to reproduce the behavior:

  1. Execute ionosctl k8s cluster list --verbose --cols ClusterId,k8sVersion,name
  2. Observe no k8sVersion column

Error and Debug Output

Additional Notes

References

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 a pull request may close this issue.

2 participants