submariner-io / submariner-website

Content and Hugo-based generation for the Submariner website.
https://submariner.io/development/website/
Creative Commons Attribution 4.0 International
9 stars 50 forks source link

Subctl join command failed with Unauthorized error #1153

Open yboaron opened 3 weeks ago

yboaron commented 3 weeks ago

This issue was reported on submariner-users mail list [1] , subctl join command failed with unauthorized error, check [2] for more details .

[1] https://groups.google.com/d/msgid/submariner-users/1e177208-7211-43e9-b5a3-5e4b5e8b891fn%40googlegroups.com.

[2]

master:~/.kube# subctl join --kubeconfig config broker-info.subm ✓ broker-info.subm indicates broker is at https://x.x.x.x:6443/ ✗ Error building the cluster.Info for the default configuration: error retrieving Submariner: failed to get API group resources: unable to retrieve the complete list of server APIs: submariner.io/v1alpha1: Unauthorized

tpantelis commented 3 weeks ago

This was discussed on the scrub call. subctl join must be run as a user with appropriate permissions. This should be documented somewhere in https://submariner.io/operations/deployment/subctl/.