RBAC Error in Kubernetes

前端 未结 1 523
长情又很酷
长情又很酷 2021-01-20 03:42

I have deployed kubernetes v1.8 in my workplace. I have created roles for admin and view access to namespaces 3months ago. In the initial phase RBAC is working as per the ac

相关标签:
1条回答
  • 2021-01-20 04:21

    Ensure the RBAC authorization mode is still being used (--authorization-mode=…,RBAC is part of the apiserver arguments)

    If it is, then check for a clusterrolebinding that is granting the cluster-admin role to all authenticated users:

    kubectl get clusterrolebindings -o yaml | grep -C 20 system:authenticated

    0 讨论(0)
提交回复
热议问题