Upgrade to Immuta 2024.2 LTS
This guide demonstrates how to upgrade an existing Immuta deployment installed with the Immuta Helm chart (IHC) to the latest LTS release using the newer Immuta Enterprise Helm chart (IEHC).
Helm chart deprecation notice
As of Immuta version 2024.2, the IHC has been deprecated in favor of the IEHC. The immuta-values.yaml Helm values files are not cross-compatible.
Prerequisites
Create a PostgreSQL database
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.
For additional information, consult the Deployment requirements.
Validate the Helm release
Fetch the metadata for the Helm release associated with Immuta.
helm get metadata --output yaml <helm-release-name>Review the output from the previous step and verify the following:
The Immuta version (
appVersion) isThe last LTS (2022.5.x) or 2024.1 or newer
Less than 2024.2
The Immuta Helm chart (
version) is greater than or equal to 4.13.5The Immuta Helm chart name (
chart) isimmuta
If any of the criteria is not met, it's first necessary to perform a Helm upgrade using the IHC. Contact your Immuta representative for guidance.
Metadata database
Azure prerequisites
If using an Azure flexible server as an external database source, ensure that the pgcrypto server extension is enabled in the Azure server parameters UI before proceeding.
The new IEHC no longer supports deploying a Metadata database (PostgreSQL) inside the Kubernetes cluster. Before transitioning to the new IEHC, it's first necessary to externalize the Metadata database.
Built-in
The following demonstrates how to take a database backup and import the data into each cloud provider's managed PostgreSQL service.
Create backup of old database
Get the metadata database pod name.
Spawn a shell inside the running metadata database pod.
Perform a database backup.
Type
exit, and then pressEnterto exit the shell prompt.Copy file
bometadata.dumpfrom the pod to the host's working directory.
Setup new database
Create a pod named
immuta-setup-dband spawn a shell.Press
enterwhen the prompt appears and connect to the new PostgreSQL database as a superuser. Depending on the cloud provider, the default superuser name (postgres) might differ.Create an
immutarole and database.Type
\q, and then pressEnterto exit the psql prompt.Authenticate as the
immutauser and create the pgcrypto extension.Type
\q, and then pressEnterto exit the psql prompt.
Restore backup to new database
Create a pod named
immuta-restore-dband spawn a shell.Copy file
bometadata.dumpfrom the host's working directory to podimmuta-restore-db.Spawn a shell inside pod
immuta-restore-db.Perform a database restore while authenticated as role
immuta. Refer to the value substituted for<postgres-password>when prompted to enter a password.Type
exit, and then pressEnterto exit the shell prompt.Delete pod
immuta-restore-dbthat was previously created.
External
No additional work is required. The existing database can be reused with the new IEHC.
Helm values
Rename the existing
immuta-values.yamlHelm values file used by the IHC.Legacy audit records: If you want to be able to view audit records from before the 2024.2 upgrade, set
FeatureFlag_auditLegacyViewHidetofalsein your Helm values file.Follow a cloud provider-specific installation guide to complete the upgrade. If your distribution is not listed below (such as K3s or RKE2), follow the generic installation instructions:
Managed public cloud: This guide includes instructions for
Amazon Elastic Kubernetes Service (EKS)
Google Kubernetes Engine (GKE)
Microsoft Azure Kubernetes Service (AKS)
Last updated
Was this helpful?

