Skip to main content
Version: Spectra Detect 5.5.1

Upgrading Spectra Detect in K8s

Because the Spectra Detect platform is packaged as a Helm chart, upgrading it to a new version is straightforward.

Helm Diff

Before running the upgrade, you can use the helm diff upgrade command to see the changes that will occur in the Kubernetes manifest files. Helm Diff Plugin must be installed to utilize the diff feature. You can install Helm Diff using the following command:

helm plugin install https://github.com/databus23/helm-diff

You can then run the helm diff upgrade command.

helm diff upgrade "${RELEASE_NAME}" oci://registry.reversinglabs.com/detect/charts/"${CHART_NAME}" \
--version "${DETECT_CHART_VERSION}" \
--namespace "${NAMESPACE}" \
-f values.yaml

You can set the --output=dyff flag for a more concise diff output.

Upgrading Using Detect Chart

If you are utilizing the Detect Helm chart, you can update all Spectra Detect components at the same time using the helm upgrade command. You can also check the Helm chart readme beforehand if you want.

helm show readme oci://registry.reversinglabs.com/detect/charts/detect --version "${DETECT_CHART_VERSION}"
helm diff upgrade "${RELEASE_NAME}" oci://registry.reversinglabs.com/detect/charts/detect \
--version "${DETECT_CHART_VERSION}" \
--namespace "${NAMESPACE}" \
-f values.yaml

After a few minutes, Spectra Detect should be updated to the specified version.

Upgrading Spectra Detect Components Separately

If you've installed Spectra Detect components using its dedicated Helm chart as separate Helm releases, you will need to upgrade them one by one.

Spectra Detect Manager

helm diff upgrade "${RELEASE_NAME}" oci://registry.reversinglabs.com/detect/charts/c1000 \
--version "${C1000_CHART_VERSION}" \
--namespace "${NAMESPACE}" \
-f values.yaml

Spectra Detect Worker

helm diff upgrade "${RELEASE_NAME}" oci://registry.reversinglabs.com/detect/charts/tiscale-worker \
--version "${WORKER_CHART_VERSION}" \
--namespace "${NAMESPACE}" \
-f values.yaml

If you are using the Large File worker feature, you need to upgrade Large File Worker Helm release separately the same way.

Spectra Detect Hub

If you are using a Hub, you can update it with the following command.

helm diff upgrade "${RELEASE_NAME}" oci://registry.reversinglabs.com/detect/charts/tiscale-hub \
--version "${WORKER_CHART_VERSION}" \
--namespace "${NAMESPACE}" \
-f values.yaml