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 configuraition files for the central-services Helm chart.

  • Upgrade the central-services Helm chart.

  • Update configuraition files for the secured-cluster-services Helm chart.

  • Upgrade the secured-cluster-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 stackrox/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 stackrox/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.