The following procedure walks through the process of changing passwords for the database users in the Immuta Database.
The commands outlined here will need to be altered depending on your Helm release name and chosen passwords. Depending on your environment, there may be other changes required for the commands to complete successfully, including, but not limited to, Kubernetes namespace, kubectl context, and Helm values file name.
This process results in downtime.
Scale database StatefulSet
to 1 replica:
Change database.superuserPassword
:
Alter Postgres user password:
Update database.superuserPassword
with <new-password>
in immuta-values.yaml
.
Change database.replicationPassword
:
Alter replicator user password:
Update database.replicationPassword
with <new-password>
in immuta-values.yaml
.
Change database.password
:
Alter bometa
user password:
Update database.password
with <new-password>
in immuta-values.yaml
.
Update database.patroniApiPassword
with <new-password>
in immuta-values.yaml
.
Run helm upgrade
to persist the changes and scale the database StatefulSet
up:
Restart web pods:
Users have the option to use an existing Kubernetes secret for Immuta database passwords used in Helm installations.
Update your existingSecret
values in your Kubernetes environment.
Get the current replica counts:
Scale database StatefulSet
to 1 replica:
Change the value corresponding to database.superuserPassword
in the existing Kubernetes Secret.
Alter Postgres user password:
Change the value corresponding to database.replicationPassword
in the existing Kubernetes Secret.
Alter replicator user password:
Change the value corresponding to database.password
in the existing Kubernetes Secret.
Alter bometa
user password:
Scale the immuta-database StatefulSet
up to the previous replica count determined in the previous step:
Restart web pods: