{{- if .Values.splunk.enabled }} apiVersion: v1 kind: Secret metadata: name: {{ .Release.Name }}-splunk labels: {{ include "logging-operator.labels" . | indent 4 }} type: Opaque data: hec_token: {{ .Values.splunk.token | b64enc | quote }} {{- end }}