Setup for Access Management for Starburst Trino¶
Configure¶
Perform following steps to configure Starburst Trino plugin:
-
SSH into the instance where Privacera Manager is installed.
-
Run the following command to navigate to the
/config
directory and copy yml files: - Modify the following properties:
- In the
vars.trino.opensource.yml
file, update the following properties with the appropriate values:
- In the
-
After configuring the properties, start the connector by executing the following instructions:
Step 1 - Setup which generates the helm charts. This step usually takes few minutes.
Step 2 - Apply the Privacera Manager helm charts. Step 3 - Post-installation step which generates Plugin tar ball, updates Route 53 DNS and so on.
Copy Privacera Trino Plugin Configuration Files¶
-
Run the following command to copy required configuration files:
-
Edit
privacera_trino_setup.sh
file to comment outwget
and addcurl
command as shown below:
Create entrypoint.sh
Script¶
-
Run the following command to create and edit
entrypoint.sh
file: -
Add the following content in the
entrypoint.sh
file:
Create Dockerfile¶
Create the file in the same directory as the entrypoint.sh
script.
-
Run the following command to create and edit the Dockerfile:
-
Add the following content in the Dockerfile:
Build the Docker Image¶
- Run the following command to build the Docker image:
Bash
Push the Docker Image to the Remote HUB¶
- Use your internal HUB to publish the image.
Create a Namespace¶
- Run the following command to create a namespace.
Bash
Create Starburst License File¶
- Create a file containing Starburst license details, add the license key and save the file.
Create Starburst License Secret¶
- Run the following command to create a secret for Starburst license:
Bash
Create Docker Image Secret¶
- To create an image secret, run the following command:
Verify the Secrets¶
- To verify the secret, run the following command:
Bash
Create .yaml
Deployment File to Override the Default Values¶
-
Run the following command to create and edit the values.yaml file:
-
Add the following content in the values.yaml file:
Install Starburst Trino on Kubernetes Cluster¶
- Upgrade an existing Helm release or install it if not present using the chart, version, and values file.
- Prev topic: Access Management
- Next topic: Advanced Configuration