Skip to content

Deploy a Custom Build for Starburst Trino

This section explains how to deploy a custom build of the Privacera Starburst Trino plugin to your cluster.

Steps to Deploy Custom Build

  1. For setup instructions, refer Setup for Access Management for Trino upto step Create Entrypoint.sh Script

  2. Navigate to the privacera-starburst-trino-plugin directory

    Bash
    cd ~/privacera-starburst-trino-plugin
    

  3. Update the following property in privacera_trino_setup.sh script

    Bash
    export PRIVACERA_BASE_DOWNLOAD_URL=<CUSTOM_PRIVACERA_TRINO_BUILD_URL>
    

  4. After updating the custom build URL property, refer this Setup for Access Management for Starburst Trino.

There is no setup script to edit. Add the custom property, with the tarball URL Privacera supplied:

Key Value
plugin.package.url <custom-tarball-url>

Save the connector and download the bundle again, then rebuild the image. The bundle script installs that package instead of the released one.

Note

Remove the property and download the bundle again to go back to the released build.

Verification

  • To verify that the Privacera Trino plugin from the custom build is installed correctly, check the plugin version file
    Bash
    cat /home/starburst/privacera/privacera-trino-plugin/privacera_version.txt
    
  • The privacera_version.txt file should contain the version information that corresponds to your custom build.