Hi All!
I’m trying to allow users inside a group to use kubectl and I’m getting the error below:
> kubectl get pods -n namespace
Error from server (InternalError): an error on the server ("{\"Code\":{\"Code\":\"ServerError\",\"Status\":500},\"Message\":\"Forbidden 403: clusters.management.cattle.io \\\"c-6nfmd\\\" is forbidden: User \\\"user-k5446\\\" cannot get clusters.management.cattle.io at the cluster scope\",\"Cause\":null,\"FieldName\":\"\"}") has prevented the request from succeeding
But when I specify a user it works.
This is the roles I have:
And…
The active directory group contains 5 users, but it don’t look at the members of the group, it uses the second role (NG-PROJECT-MANAGER-CLUSTER).
The same group works perfectly when I need to allow access just to a specific project using the firts role.
Thanks.