github.com/replicatedhq/ship@v0.55.0/integration/init/grafana-with-values/expected/.ship/upstream/templates/configmap-dashboard-provider.yaml (about)

     1  {{- if .Values.sidecar.dashboards.enabled }}
     2  apiVersion: v1
     3  kind: ConfigMap
     4  metadata:
     5    labels:
     6      app: {{ template "grafana.name" . }}
     7      chart: {{ template "grafana.chart" . }}
     8      release: {{ .Release.Name }}
     9      heritage: {{ .Release.Service }}
    10  {{- with .Values.annotations }}
    11    annotations:
    12  {{ toYaml . | indent 4 }}
    13  {{- end }}
    14    name: {{ template "grafana.fullname" . }}-config-dashboards
    15  data:
    16    provider.yaml: |-
    17      apiVersion: 1
    18      providers:
    19      - name: 'default'
    20        orgId: 1
    21        folder: ''
    22        type: file
    23        disableDeletion: false
    24        options:
    25          path: {{ .Values.sidecar.dashboards.folder }}
    26  {{- end}}