test-serviceaccount.yaml 419 B

123456789101112
  1. {{- if and .Values.testFramework.enabled .Values.serviceAccount.create }}
  2. apiVersion: v1
  3. kind: ServiceAccount
  4. metadata:
  5. labels:
  6. {{- include "grafana.labels" . | nindent 4 }}
  7. name: {{ template "grafana.serviceAccountNameTest" . }}
  8. namespace: {{ template "grafana.namespace" . }}
  9. annotations:
  10. "helm.sh/hook": test-success
  11. "helm.sh/hook-delete-policy": "before-hook-creation,hook-succeeded"
  12. {{- end }}