diff --git a/helm-charts/splunk-otel-collector/templates/secret-splunk-validation-hook.yaml b/helm-charts/splunk-otel-collector/templates/secret-splunk-validation-hook.yaml index c782a6e042..36f79fadc4 100644 --- a/helm-charts/splunk-otel-collector/templates/secret-splunk-validation-hook.yaml +++ b/helm-charts/splunk-otel-collector/templates/secret-splunk-validation-hook.yaml @@ -11,6 +11,7 @@ metadata: "helm.sh/hook": pre-upgrade,pre-install "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded spec: + serviceAccountName: {{ template "splunk-otel-collector.serviceAccountName" . }} restartPolicy: Never containers: - name: validate-secret