1. Overview

If you installed Twistlock into your Kubernetes or OpenShift cluster with Helm charts, you can upgrade with the helm upgrade command.

2. Upgrading Console

Generate an updated Helm chart for Console, and then upgrade to it.

Procedure

  1. Download the latest Twistlock release.

  2. Create an updated Console Helm chart.

    $ <PLATFORM>/twistcli console export kubernetes \
      --service-type LoadBalancer \
      --helm
  3. Install the updated chart.

    $ helm upgrade twistlock-console \
      --namespace twistlock \
      --recreate-pods \
     ./twistlock-console-helm.tar.gz

3. Upgrading the Defender DaemonSet

Generate an updated Helm chart for the Defender DaemonSet, and then upgrade to it.

Procedure

  1. Create an updated Defender DaemonSet Helm chart.

    $ <PLATFORM>/twistcli defender export kubernetes \
      --address https://yourconsole.example.com:8083 \
      --user <ADMIN_USER> \
      --cluster-address twistlock-console \
      --helm
  2. Install the updated chart.

    $ helm upgrade twistlock-defender-ds \
      --namespace twistlock \
      --recreate-pods
      ./twistlock-console-helm.tar.gz