Upgrade the Splunk Operator using Helm

Upgrade an existing Splunk Operator deployment using helm upgrade with a values file or the CLI.

If you already installed the Splunk Operator with Helm, use helm upgrade to update your configuration or move to a newer chart version with a values file or the Helm CLI. To check whether a release exists, run helm list -n <RELEASE_NAMESPACE>. If no release exists, install the Splunk Operator first.

For more information on configurable values, see the splunk/splunk-operator values in the Splunk Operator GitHub repository.

Upgrade the Splunk Operator deployment using a values file or the Helm CLI.

Use a new_values.yaml file to override values:

CODE
helm upgrade -f new_values.yaml <RELEASE_NAME> splunk/splunk-operator -n <RELEASE_NAMESPACE>

Or use the Helm CLI directly to set new values:

CODE
helm upgrade --set <KEY>=<VALUE> <RELEASE_NAME> splunk/splunk-operator -n <RELEASE_NAMESPACE>

The following example upgrades the splunk-operator-test release by revoking cluster-wide access:

CODE
helm upgrade --set splunkOperator.clusterWideAccess=false splunk-operator-test splunk/splunk-operator -n splunk-operator

Expected output:

CODE
NAME: splunk-operator-test
LAST DEPLOYED: Tue Aug 23 12:53:08 2022
NAMESPACE: splunk-operator
STATUS: deployed
REVISION: 2
TEST SUITE: None