Skip to content

Configure Trino Cluster Name

You can configure a custom Trino cluster name to help identify which cluster performed the access check in the audit section of the Privacera Portal. By default, the cluster name is set to trino.

Note

This configuration is applicable to both PrivaceraCloud and Self-Managed deployments.

Warning

Replace <CLUSTER_NAME> and <NAMESPACE> with your actual desired values.

Step 1: Update values.yaml

  1. Open the values.yaml file in the trino deployment folder.

    cd ~/privacera-trino-plugin
    vi values.yaml
    

  2. Add the following environment variable configuration.

    YAML
    1
    2
    3
    env:
      - name: RANGER_POLICY_AUTHZ_CLUSTER_NAME
        value: "<CLUSTER_NAME>"
    

Step 2: Deploy the Changes

Deploy the updated configuration using Helm

  • For new deployments.

    helm install -f values.yaml privacera-trino-cluster trino/trino --namespace=<NAMESPACE>
    

  • For existing deployments.

    helm upgrade -f values.yaml privacera-trino-cluster trino/trino --namespace=<NAMESPACE>
    

Verification

After deployment, verify that the cluster name is correctly configured:

  • Navigate to Access ManagementAudits in the Privacera portal and verify the cluster name appears in audit section