Update grafana datasource to be dynamically added
This commit is contained in:
parent
7bf01de75f
commit
9b00f330b3
@ -15,7 +15,7 @@ type: application
|
|||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# This is the chart version. This version number should be incremented each time you make changes
|
||||||
# to the chart and its templates, including the app version.
|
# to the chart and its templates, including the app version.
|
||||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||||
version: 0.2.3
|
version: 0.2.4
|
||||||
|
|
||||||
# This is the version number of the application being deployed. This version number should be
|
# This is the version number of the application being deployed. This version number should be
|
||||||
# incremented each time you make changes to the application. Versions are not expected to
|
# incremented each time you make changes to the application. Versions are not expected to
|
||||||
|
@ -18,4 +18,7 @@ stringData:
|
|||||||
type: prometheus
|
type: prometheus
|
||||||
url: http://thanos-query.{{ .Values.user }}-monitoring.svc.cluster.local:10902
|
url: http://thanos-query.{{ .Values.user }}-monitoring.svc.cluster.local:10902
|
||||||
version: 1
|
version: 1
|
||||||
|
{{- if .Values.grafana.datasources }}
|
||||||
|
{{- toYaml .Values.grafana.datasources | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
@ -6,7 +6,13 @@ alertmanager:
|
|||||||
|
|
||||||
# grafana
|
# grafana
|
||||||
grafana:
|
grafana:
|
||||||
enabled: false
|
datasources:
|
||||||
|
- name: prometheus
|
||||||
|
access: proxy
|
||||||
|
editable: false
|
||||||
|
type: prometheus
|
||||||
|
url: http://prometheus-operated.user4-monitoring.svc.cluster.local:9090
|
||||||
|
enabled: true
|
||||||
|
|
||||||
# prometheus
|
# prometheus
|
||||||
prometheus:
|
prometheus:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user