Hi All,
We are trying to limit user access to particular namespace in AKS . To achieve this we have assigned user the following permission.
- Azure Kubernetes Service Cluster User Role - To list credential or run kubectl command
- Azure Kubernetes Service RBAC Writer Role on the created namespace- This is to allow deployment.
But we are now getting below error message - Please suggest
PS C:\Users\abc> kubectl get pods -n namespacename
Unable to connect to the server: getting credentials: exec: executable kubelogin not found
It looks like you are trying to use a client-go credential plugin that is not installed.
To learn more about this feature, consult the documentation available at:
https://kubernetes.io/docs/reference/access-authn-authz/authentication/#client-go-credential-plugins