123456789101112 |
- {{- if and .Values.testFramework.enabled .Values.serviceAccount.create }}
- apiVersion: v1
- kind: ServiceAccount
- metadata:
- labels:
- {{- include "grafana.labels" . | nindent 4 }}
- name: {{ template "grafana.serviceAccountNameTest" . }}
- namespace: {{ template "grafana.namespace" . }}
- annotations:
- "helm.sh/hook": test-success
- "helm.sh/hook-delete-policy": "before-hook-creation,hook-succeeded"
- {{- end }}
|