This is a cache of https://docs.openshift.com/acs/4.4/cloud_service/upgrading-cloud/upgrade-cloudsvc-helm.html. It is a snapshot of the page at 2024-11-22T17:59:46.369+0000.
Upgrading secured clusters in RHACS Cloud Service by using Helm charts - Upgrading RHACS Cloud Service | RHACS Cloud Service | Red Hat Advanced Cluster Security for Kubernetes 4.4
×

You can upgrade your secured clusters in RHACS Cloud Service by using Helm charts.

If you installed RHACS secured clusters by using Helm charts, you can upgrade to the latest version of RHACS by updating the Helm chart and running the helm upgrade command.

Updating the Helm chart repository

You must always update Helm charts before upgrading to a new version of Red Hat Advanced Cluster Security for Kubernetes.

Prerequisites
  • You must have already added the Red Hat Advanced Cluster Security for Kubernetes Helm chart repository.

  • You must be using Helm version 3.8.3 or newer.

Procedure
  • Update Red Hat Advanced Cluster Security for Kubernetes charts repository.

    $ helm repo update
Verification
  • Run the following command to verify the added chart repository:

    $ helm search repo -l rhacs/

Running the Helm upgrade command

You can use the helm upgrade command to update Red Hat Advanced Cluster Security for Kubernetes (RHACS).

Prerequisites
  • You must have access to the values-private.yaml configuration file that you have used to install Red Hat Advanced Cluster Security for Kubernetes (RHACS). Otherwise, you must generate the values-private.yaml configuration file containing root certificates before proceeding with these commands.

Procedure
  • Run the helm upgrade command and specify the configuration files by using the -f option:

    $ helm upgrade -n stackrox stackrox-secured-cluster-services \
      rhacs/secured-cluster-services --version <current-rhacs-version> \(1)
      -f values-private.yaml
    1 Use the -f option to specify the paths for your YAML configuration files.