Kubernetes RBAC#
Using the RBAC method in Kubernetes, you can manage the Kubernetes objects and regulate the access to a Kubernetes cluster.
To change the Kubernetes objects, perform the following steps:
-
SSH to the instance as USER.
-
Run the following commands.
cd ~/privacera/privacera-manager cp config/sample-vars/vars.kubernetes.custom-rbac.yml config/custom-vars/ vi config/custom-vars/vars.kubernetes.custom-rbac.yml
-
Remove the # (hash) and edit the following properties.
#K8S_SERVICE_ACCOUNT: "privacera-sa" #K8S_ROLE_NAME: "privacera-sa-role" #K8S_ROLE_BINDING_NAME: "privacera-sa-role-bind"