Update grafana datasource to be dynamically added

This commit is contained in:
Raffael H
2023-10-10 14:14:10 +02:00
parent 7bf01de75f
commit 9b00f330b3
3 changed files with 11 additions and 2 deletions

View File

@@ -18,4 +18,7 @@ stringData:
type: prometheus
url: http://thanos-query.{{ .Values.user }}-monitoring.svc.cluster.local:10902
version: 1
{{- if .Values.grafana.datasources }}
{{- toYaml .Values.grafana.datasources | nindent 6 }}
{{- end }}
{{- end }}