helm collabora kubernetes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
547 B

  1. {{- if .Values.grafana.dashboards.enabled }}
  2. {{- range $path, $bytes := .Files.Glob "grafana_dashboards/*.json" }}
  3. ---
  4. apiVersion: v1
  5. kind: ConfigMap
  6. metadata:
  7. name: {{ include "collabora-online.fullname" $ }}-grafana-dashboards-{{ base $path }}
  8. labels:
  9. {{- include "collabora-online.labels" $ | nindent 4 }}
  10. {{- toYaml $.Values.grafana.dashboards.labels | nindent 4 }}
  11. annotations:
  12. {{- toYaml $.Values.grafana.dashboards.annotations | nindent 4 }}
  13. data:
  14. {{- ($.Files.Glob $path ).AsConfig | nindent 2 }}
  15. {{- end }}
  16. {{- end }}