This is a cache of https://docs.openshift.com/acs/3.72/upgrading/upgrade-helm.html. It is a snapshot of the page at 2024-11-23T17:32:30.086+0000.
Upgrading using <strong>helm</strong> charts | Upgrading | Red Hat Advanced Cluster Security for Kubernetes 3.72
×

If you have installed Red Hat Advanced Cluster Security for Kubernetes by using helm charts, to upgrade to the latest version of Red Hat Advanced Cluster Security for Kubernetes you must perform the following:

  • Update the helm chart.

  • Update configuration files for the central-services helm chart.

  • Upgrade the central-services helm chart.

  • Update configuration files for the secured-cluster-services helm chart.

  • Upgrade the secured-cluster-services helm chart.

To ensure optimal functionality, use the same version for your secured-cluster-services helm chart and central-services helm chart.

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.

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/

Changing configuration options after deploying the central-services helm chart

You can make changes to any configuration options after you have deployed the central-services helm chart.

Procedure
  1. Update the values-public.yaml and values-private.yaml configuration files with new values.

  2. Run the helm upgrade command and specify the configuration files using the -f option:

    $ helm upgrade -n stackrox \
      stackrox-central-services rhacs/central-services \
      -f <path_to_values_public.yaml> \
      -f <path_to_values_private.yaml>

    You can also specify configuration values using the --set or --set-file parameters. However, these options are not saved, and it requires you to manually specify all the options again whenever you make changes.

Changing configuration options after deploying the secured-cluster-services helm chart

You can make changes to any configuration options after you have deployed the secured-cluster-services helm chart.

Procedure
  1. Update the values-public.yaml and values-private.yaml configuration files with new values.

  2. Run the helm upgrade command and specify the configuration files using the -f option:

    $ helm upgrade -n stackrox \
      stackrox-secured-cluster-services rhacs/secured-cluster-services \
      --reuse-values \ (1)
      -f <path_to_values_public.yaml> \
      -f <path_to_values_private.yaml>
    1 You must specify the --reuse-values parameter, otherwise the helm upgrade command resets all previously configured settings.

    You can also specify configuration values using the --set or --set-file parameters. However, these options are not saved, and it requires you to manually specify all the options again whenever you make changes.