Configure Splunk Operator for private registries

Update the Splunk Operator deployment to use images from a private registry.

If you use a private registry for Docker images, update the Splunk Operator deployment to reference the appropriate image names.

  1. Edit the manager container image parameter to reference the Splunk Operator image in your private registry:
    CODE
    # Replace this with the built image name
    image: private-registry/splunk/splunk-operator:tag
  2. Edit the RELATED_IMAGE_SPLUNK_ENTERPRISE field to the Splunk Enterprise Docker image path in your private registry:
    CODE
    ...
            env:
            - name: WATCH_NAMESPACE
              value: "namespace1,namespace2"
            - name: RELATED_IMAGE_SPLUNK_ENTERPRISE
              value: private-registry/splunk/splunk:tag
            - name: OPERATOR_NAME
              value: splunk-operator
            - name: SPLUNK_GENERAL_TERMS
              value: ""
            - name: POD_NAME
              valueFrom:
                fieldRef:
                  apiVersion: v1
                  fieldPath: metadata.name
    ...