Upgrading Privacera¶
Note
This section applies only to Self-Managed and Data Plane deployments. For Privacera Cloud deployments, upgrades are done automatically without user intervention.
Warning
This instruction is not applicable to air gap installed deployments. For upgrading air gapped deployments please contact Privacera support for upgrade instructions.
Upgrading Privacera is a two-step process. First, you upgrade Privacera Manager, and then you upgrade the Privacera product packages.
1. Upgrading Privacera Manager¶
You can upgrade Privacera Manager whenever a new version is released. You need the tag of the new release to upgrade Privacera Manager. The upgrade process pulls the latest changes from the repository and upgrades the Privacera Manager.
Prerequisites¶
To upgrade Privacera Manager, you need the following:
- The new release version/tag of Privacera Manager.
- Credentials to access Privacera's Docker registry.
You can obtain this information from the Privacera support or account team.
Steps¶
To upgrade Privacera Manager, follow these steps:
-
Open the
pm-env.sh
file to update the release version for the Privacera Manager packages:Bash -
Update the version for the following variables with the new release version:
PRIV_MGR_PACKAGE
: Update the release version in the URL pathrel/platform/rel_x.x.x.x
.-
PRIV_MGR_IMAGE
: Update the release version in the URL/privacera-manager:rel_x.x.x.x
. -
Open the
vars.privacera.yml
file to add the new release version for the Privacera product packages:Bash -
Update the version for the following variables with the new release version:
PRIVACERA_BASE_DOWNLOAD_URL
: Update the release version in the URL pathrel/platform/rel_x.x.x.x
.-
PRIVACERA_IMAGE_TAG
: Update the release version. -
Run the upgrade with the following command to pull the latest changes:
Tip
Make sure you complete the above steps before upgrading the Privacera product packages. These steps will pull the latest packages required for the Privacera product upgrades.
2. Upgrading Privacera Product Packages¶
After upgrading Privacera Manager, you need to upgrade the Privacera product packages. The upgrade process pulls the latest changes from the repository and upgrades the Privacera product packages.
Step 1 - Setup which generates the helm charts. This step usually takes few minutes.
Step 2 - Apply the Privacera Manager helm charts. Step 3 - Post-installation step which generates Plugin tar ball, updates Route 53 DNS and so on.- Next