Skip to main content

Privacera Documentation

Add domain names for Privacera service URLs on Privacera Platform

Note

If you have Nginx ingress enabled in your environment, the following configuration is not required.

You can expose Privacera services such as Portal, Ranger, AuditServer, Data Access Server and PEG to be accessed externally. You can also configure a domain name to point to them and use DNS service to host the needed DNS records.

You can set multiple DNS values using the custom property DATASERVER_EXTERNAL_HOSTNAMES, which can be configured for Data Access Server. Here you can add a comma separated list of all entries. See Custom Data Access Server properties to for more information.

  1. Create a vars.service_hostname.yml file.

    vi config/custom-vars/vars.service_hostname.yml
    
  2. Depending on the services you want to expose, add the properties in the file and replace <PLEASE_CHANGE> with a hostname.

    PORTAL_HOST_NAME:"<PLEASE_CHANGE>"
    DATASERVER_HOST_NAME:"<PLEASE_CHANGE>"
    RANGER_HOST_NAME:"<PLEASE_CHANGE>"
    PEG_HOST_NAME:"<PLEASE_CHANGE>"
    AUDITSERVER_HOST_NAME:"<PLEASE_CHANGE>"
    
  3. Create CNAME records to point them to the service load balancer URLs.

    Note

    If you are installing Privacera services for the first time, you must complete the installation and then return to this step to create CNAME records.

    1. Run the following command to get the service URL and replace <name_space> with your Kubernetes namespace.

      kubectl get svc -n <name_space>
      
    2. Create CNAME records using the service URLs.

  4. Run the update.

    cd ~/privacera/privacera-manager
    ./privacera-manager.sh update