Update KSOC Plugins

When new versions of the KSOC plugins are available, the following steps will update the KSOC in your cluster(s).

  • Update KSOC Helm chart
  • Delete KSOC in the Cluster
  • Reinstall KSOC in the Cluster

Check KSOC Installed Helm Chart Version

helm list -n ksoc

Compare the installed KSOC plugin version to the latest version to see if an upgrade is available.

Example:

helm list -n ksoc
NAME    NAMESPACE   REVISION    UPDATED                                 STATUS      CHART               APP VERSION
ksoc    ksoc        1           2022-11-29 14:36:23.678394 -0800 PST    deployed    ksoc-plugins-0.0.18

NOTE

In January 2023, KSOC moved the plugin Helm repo. If you run helm list -n ksoc and the version of the chart is ksoc-plugins-0.0.37 or earlier, you should remove the helm repo, delete the KSOC plugins, and reinstall the plugins so they are updated from the correct repo.

helm list -n ksoc
NAME    NAMESPACE   REVISION    UPDATED                                 STATUS      CHART               APP VERSION
ksoc    ksoc        1           2023-01-25 06:07:42.062391 -0800 PST    deployed    ksoc-plugins-0.0.37

helm repo remove ksoc
helm delete -n ksoc ksoc

Then continue with https://artifacthub.io/packages/helm/ksoc/ksoc-plugins#X-configure-ksoc-helm-repository to reinstall the KSOC plugins.

Update KSOC Helm Chart

helm repo update ksoc

Example:

helm repo update ksoc
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "ksoc" chart repository
Update Complete. ⎈Happy Helming!⎈

Delete KSOC Plugins

helm delete -n ksoc ksoc

Install KSOC Plugins

helm install \
  ksoc ksoc/ksoc-plugins \
  --namespace ksoc \
  -f values.yaml 

Verify Helm Version

helm list -n ksoc
NAME    NAMESPACE   REVISION    UPDATED                                 STATUS      CHART               APP VERSION
ksoc    ksoc        1           2022-12-19 11:53:08.266649 -0800 PST    deployed    ksoc-plugins-0.0.33

Check KSOC Plugins are Running

You should expect to see the following pods in a state of Running:

kubectl get pods -n ksoc
ksoc-guard-774d79f4b7-b8fhr   2/2   Running   0         1m  
ksoc-sbom-6db8f6fcb-f9n6p     2/2   Running   0         1m  
ksoc-sync-774b47cb47-gms9d    1/1   Running   0         1m  
ksoc-watch-8f5688cbb-pvcws    1/1   Running   0         1m

If you don't see all the pods running within 2 minutes, please check the Installation Troubleshooting page or contact KSOC support.