mirror of
https://github.com/wahyd4/helm-charts.git
synced 2026-08-09 04:26:02 +10:00
[stable/grafana] Template grafana.additionalDataSources (#22728)
Signed-off-by: Steven Sheehy <steven.sheehy@hedera.com>
This commit is contained in:
@@ -12,7 +12,7 @@ sources:
|
||||
- https://github.com/coreos/kube-prometheus
|
||||
- https://github.com/coreos/prometheus-operator
|
||||
- https://coreos.com/operators/prometheus
|
||||
version: 8.14.0
|
||||
version: 8.14.1
|
||||
appVersion: 0.38.1
|
||||
tillerVersion: ">=2.12.0"
|
||||
home: https://github.com/coreos/prometheus-operator
|
||||
|
||||
@@ -443,7 +443,7 @@ For a full list of configurable values please refer to the [Grafana chart](https
|
||||
|
||||
| Parameter | Description | Default |
|
||||
| ----- | ----------- | ------ |
|
||||
| `grafana.additionalDataSources` | Configure additional grafana datasources | `[]` |
|
||||
| `grafana.additionalDataSources` | Configure additional grafana datasources (passed through tpl) | `[]` |
|
||||
| `grafana.adminPassword` | Admin password to log into the grafana UI | "prom-operator" |
|
||||
| `grafana.defaultDashboardsEnabled` | Deploy default dashboards. These are loaded using the sidecar | `true` |
|
||||
| `grafana.enabled` | If true, deploy the grafana sub-chart | `true` |
|
||||
|
||||
@@ -33,6 +33,6 @@ data:
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.grafana.additionalDataSources }}
|
||||
{{ toYaml .Values.grafana.additionalDataSources | indent 4}}
|
||||
{{ tpl (toYaml .Values.grafana.additionalDataSources | indent 4) . }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -538,7 +538,7 @@ grafana:
|
||||
# configMap: certs-configmap
|
||||
# readOnly: true
|
||||
|
||||
## Configure additional grafana datasources
|
||||
## Configure additional grafana datasources (passed through tpl)
|
||||
## ref: http://docs.grafana.org/administration/provisioning/#datasources
|
||||
additionalDataSources: []
|
||||
# - name: prometheus-sample
|
||||
@@ -551,7 +551,7 @@ grafana:
|
||||
# tlsSkipVerify: true
|
||||
# orgId: 1
|
||||
# type: prometheus
|
||||
# url: https://prometheus.svc:9090
|
||||
# url: https://{{ printf "%s-prometheus.svc" .Release.Name }}:9090
|
||||
# version: 1
|
||||
|
||||
## Passed to grafana subchart and used by servicemonitor below
|
||||
|
||||
Reference in New Issue
Block a user