---
# Source: opentelemetry-demo/charts/grafana/templates/tests/test.yaml
apiVersion: v1
kind: Pod
metadata:
  name: example-grafana-test
  labels:
    helm.sh/chart: grafana-6.52.8
    app.kubernetes.io/name: grafana
    app.kubernetes.io/instance: example
    app.kubernetes.io/version: "9.4.7"
    app.kubernetes.io/managed-by: Helm
  annotations:
    "helm.sh/hook": test-success
    "helm.sh/hook-delete-policy": "before-hook-creation,hook-succeeded"
  namespace: default
spec:
  serviceAccountName: example-grafana-test
  containers:
    - name: example-test
      image: "bats/bats:v1.4.1"
      imagePullPolicy: "IfNotPresent"
      command: ["/opt/bats/bin/bats", "-t", "/tests/run.sh"]
      volumeMounts:
        - mountPath: /tests
          name: tests
          readOnly: true
  volumes:
    - name: tests
      configMap:
        name: example-grafana-test
  restartPolicy: Never
