github.com/replicatedcom/ship@v0.50.0/integration/init/istio-1.0.3/expected/.ship/upstream/charts/grafana/templates/configmap.yaml (about)

     1  apiVersion: v1
     2  kind: ConfigMap
     3  metadata:
     4    name: istio-grafana
     5    namespace: {{ .Release.Namespace }}
     6    labels:
     7      app: istio-grafana
     8      chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
     9      release: {{ .Release.Name }}
    10      heritage: {{ .Release.Service }}
    11      istio: grafana
    12  data:
    13  {{- if .Values.datasources }}
    14    {{- range $key, $value := .Values.datasources }}
    15    {{ $key }}: |
    16  {{ toYaml $value | indent 4 }}
    17    {{- end -}}
    18  {{- end -}}
    19  
    20  {{- if .Values.dashboardProviders }}
    21    {{- range $key, $value := .Values.dashboardProviders }}
    22    {{ $key }}: |
    23  {{ toYaml $value | indent 4 }}
    24    {{- end -}}
    25  {{- end -}}