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

clusteradm proxy kubectl does not allow multiple clusters #366

Open
cwen11 opened this issue Sep 3, 2023 · 1 comment
Open

clusteradm proxy kubectl does not allow multiple clusters #366

cwen11 opened this issue Sep 3, 2023 · 1 comment
Labels
help wanted Extra attention is needed kind/bug

Comments

@cwen11
Copy link

cwen11 commented Sep 3, 2023

clusteradm proxy kubectl takes in a generic ClusterOption which includes both the option to specify a single cluster or multiple clusters (--clusters), but the code seems to only accept a single cluster

_, err = clusterClient.ManagedClusters().Get(context.TODO(), o.ClusterOption.Cluster, metav1.GetOptions{})
. This should be explicitly stated as a limitation and not appear in the --help output of the command, should be supported, or there should be a clearer error message ("resource name may not be empty").

@qiujian16
Copy link
Member

/kind bug

@openshift-ci openshift-ci bot added the kind/bug label Sep 4, 2023
@qiujian16 qiujian16 added the help wanted Extra attention is needed label Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed kind/bug
Projects
None yet
Development

No branches or pull requests

2 participants