gitlab-org--gitlab-foss/doc/install/kubernetes/preparation/rbac.md
2018-08-21 12:41:40 +00:00

744 B

Role Based Access Control

Until Kubernetes 1.7, there were no permissions within a cluster. With the launch of 1.7, there is now a role based access control system (RBAC) which determines what services can perform actions within a cluster.

RBAC affects a few different aspects of GitLab:

Checking that RBAC is enabled

Try listing the current cluster roles, if it fails then RBAC is disabled. The following command will output false if RBAC is disabled and true otherwise:

kubectl get clusterroles > /dev/null 2>&1 && echo true || echo false