This repository has been archived by the owner on Oct 10, 2023. It is now read-only.
[backport release-0.25 branch]Add support for "tanzu cluster get" to show tree view of cluster for … #3087
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…TKGS
because the older TKGS versions supports different CAPI version causing the clusterctl
describe library unable to query/list the clsuter objects. So if clusterctl library
successfully query the objects the treeview would be shown.
Signed-off-by: Prem Kumar Kalle pkalle@vmware.com
Signed-off-by: Prem Kumar Kalle pkalle@vmware.com
What this PR does / why we need it
This PR adds support for "tanzu cluster get" command to show details (tree view) for TKGS
Which issue(s) this PR fixes
Fixes #1063
Describe testing done for PR
Tested with version of TKGS that has CAPI version
v1alpha3
, it didn't show the cluster resources details(tree view). If user wants to know why it is not being shown, using log verbose level 1 or higher would show the warning messageTested with with version of TKGS that has CAPI version
v1beta1
and it successfully shown the cluster resources details(tree view)Release note
Additional information
Special notes for your reviewer