Add Splunk Operator Helm chart repository

Configure the Helm chart repository and install the required CRDs.

Add the Splunk Operator and Splunk Enterprise Helm charts to your Helm repository and install the required custom resource definitions (CRDs).

The splunk chart repository contains the splunk/splunk-operator chart to deploy the Splunk Operator and the splunk/splunk-enterprise chart to deploy Splunk Enterprise custom resources.

You must deploy the latest CRDs manually. The splunk/splunk-operator chart no longer contains the CRDs due to their size. Helm has a chart size limit of 1 MB imposed by the Kubernetes etcd key-value store, which the Splunk Operator for Kubernetes CRDs exceed. For more information, see Helm best practices for custom resource definitions.

Note: To run Helm commands from your local workstation, you must install the Helm CLI on your operating system. See Installing Helm.
  1. Add the Splunk Operator and Enterprise charts to your Helm repository.
    CODE
    helm repo add splunk https://splunk.github.io/splunk-operator/
    helm repo update
  2. Install or update the CRDs using one of the following methods.
    • Clone the repository and run make install:
      CODE
      git clone https://github.com/splunk/splunk-operator.git .
      git checkout release/<version>
      make install
    • Apply the CRDs directly with kubectl:
      CODE
      kubectl apply -f https://github.com/splunk/splunk-operator/releases/download/<version>/splunk-operator-crds.yaml --server-side

You have configured the Splunk Operator Helm chart repository and installed the CRDs. For more information about supported Helm commands, see the Helm documentation.