Red Hat OpenShift
This is an OpenShift-specific guide on how to deploy Immuta with the following managed services:
Cloud-managed PostgreSQL
Cloud-managed Redis
Cloud-managed Elasticsearch
Prerequisites
Review the following criteria before proceeding with deploying Immuta.
PostgreSQL
The PostgreSQL instance has been provisioned and is actively running.
The PostgreSQL instance's hostname/FQDN is resolvable from within the Kubernetes cluster.
The PostgreSQL instance is accepting connections.
The Helm chart only supports username/password authentication for PostgreSQL. At this time, other authentication mechanisms are not supported.
Redis
The Redis instance has been provisioned and is actively running.
The Redis instance's hostname/FQDN is resolvable from within the Kubernetes cluster.
The Redis instance is accepting connections.
Elasticsearch
The Elasticsearch instance has been provisioned and is actively running.
The Elasticsearch instance's hostname/FQDN is resolvable from within the Kubernetes cluster.
The Elasticsearch instance is accepting connections.
The user must have the required permissions.
The Helm chart only supports username/password authentication for Elasticsearch. At this time, other authentication mechanisms are not supported.
Authenticate with OCI registry
Helm chart availability
The deprecated Immuta Helm chart (IHC) is not available from ocir.immuta.com.
Copy the snippet below and replace the placeholder text with the credentials provided to you by your customer success manager:
Setup
Create a new OpenShift project named
immutafor Immuta.Get the UID range allocated to the project. Each running container's UID must fall within this range. This value will be referenced later on.
Get the GID range allocated to the project. Each running container's GID must fall within this range. This value will be referenced later on.
Switch to project
immuta.Create a container registry pull secret. Your credentials to authenticate with ocir.immuta.com can be viewed in your user profile at support.immuta.com.
Cloud-managed PostgreSQL
Connect to the database as superuser (postgres) by creating an ephemeral container inside the Kubernetes cluster. A shell prompt will not be displayed after executing the
oc runcommand outlined below. Wait 5 seconds, and then proceed by entering a password.Create an
immutarole and database.Revoke privileges from
CURRENT_USERas they're no longer required.Enable the
pgcryptoextension.Type
\q, and then pressEnterto exit.
Install Immuta
Audit records
Preserving legacy audit records
Immuta does not migrate legacy audit records to the universal audit model (UAM), so when you upgrade Immuta those audit records will be lost unless you enable the following setting in your immuta-values.yaml file:
Audit record retention
Immuta defaults to keeping audit records for 7 days. To change this duration, set the following values in the immuta-values.yaml file. The example below configures audit records to be kept for 90 days:
This section demonstrates how to deploy Immuta using the Immuta Enterprise Helm chart once the prerequisite cloud-managed services are configured.
Create a Helm values file named
immuta-values.yamlwith the content below. Because the Ingress resource will be managed by an OpenShift route you will create when configuring Ingress and not the Immuta Enterprise Helm chart,ingressis set tofalsebelow. TLS comes pre-configured with OpenShift, sotlsis also set tofalse.Update all placeholder values in the
immuta-values.yamlfile.
Avoid these special characters in generated passwords
whitespace, $, &, :, \, /, '
Deploy Immuta.
Validation
Wait for all pods in the namespace to become ready.
Determine the name of the Secure service.
Listen on local port
8080, forwarding TCP traffic to the Secure service's port namedhttp.
Next steps
Configure Ingress to complete your installation and access your Immuta application.
Last updated
Was this helpful?

