Skip to main content

Privacera Documentation

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:

  1. SSH to the instance as USER.

  2. 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
  3. 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"