vmware-tanzu / tanzu-framework

Tanzu Framework provides a set of building blocks to build atop of the Tanzu platform and leverages Carvel packaging and plugins to provide users with a much stronger, more integrated experience than the loose coupling and stand-alone commands of the previous generation of tools.
Apache License 2.0
196 stars 193 forks source link

Same alias 'Warning' messages #3882

Open explicitworkload opened 1 year ago

explicitworkload commented 1 year ago

Bug description

I have two clusters installed on TKGS and TKGm, and of which I need to manually install cluster plugin separately when managing TKGs. The result of doing so is the warning messages shown when I do a 'tanzu cluster list' on TKGm clusters.

Are there anyway I can hide this?

`gohj@gohj-a01 ~ % tanzu cluster list --include-management-cluster
Warning, the alias cl is duplicated across plugins: cluster, cluster

Warning, the alias kubernetes-releases is duplicated across plugins: kubernetes-release, kubernetes-release

Warning, the alias clusters is duplicated across plugins: cluster, cluster

Warning, the alias kr is duplicated across plugins: kubernetes-release, kubernetes-release

NAME NAMESPACE STATUS CONTROLPLANE WORKERS KUBERNETES ROLES PLAN TKR
gohj-guest-1 default running 1/1 1/1 v1.23.8+vmware.2 dev v1.23.8---vmware.2-tkg.1-tf-v0.25.0
gohj-mgmt tkg-system running 1/1 1/1 v1.23.8+vmware.2 management dev v1.23.8---vmware.2-tkg.1-tf-v0.25.0
`

Affected product area (please put an X in all that apply)

Expected behavior No warning messages from the clashing alias.

Steps to reproduce the bug Configure TKGm and TKGs on the same CLI. And install cluster/kubernetes-release/features plugin separately.

Version (include the SHA if the version is not obvious) 0.25.0

Environment where the bug was observed (cloud, OS, etc) Mac M1

Relevant Debug Output (Logs, manifests, etc)

github-actions[bot] commented 1 year ago

Hey @explicitworkload! Thanks for opening your first issue. We appreciate your contribution and welcome you to our community! We are glad to have you here and to have your input on Tanzu Framework.