mirror of
https://github.com/helm/charts.git
synced 2026-08-22 22:07:36 +00:00
[stable/prometheus-operator] Possibility to add grafana datasources (#12296)
* [stable/prometheus-operator] Possibility to add grafana datasources Signed-off-by: Ondrej Kuchar <ondrej.kuchar@pan-net.eu> * [stable/prometheus-operator] add additionalDataSources to ci dir Signed-off-by: Ondrej Kuchar <ondrej.kuchar@pan-net.eu>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
94b5a26c8d
commit
852b3aa032
@@ -9,7 +9,7 @@ name: prometheus-operator
|
||||
sources:
|
||||
- https://github.com/coreos/prometheus-operator
|
||||
- https://coreos.com/operators/prometheus
|
||||
version: 4.3.4
|
||||
version: 4.3.5
|
||||
appVersion: 0.29.0
|
||||
home: https://github.com/coreos/prometheus-operator
|
||||
keywords:
|
||||
|
||||
@@ -285,6 +285,7 @@ The following tables list the configurable parameters of the prometheus-operator
|
||||
| ----- | ----------- | ------ |
|
||||
| `grafana.enabled` | If true, deploy the grafana sub-chart | `true` |
|
||||
| `grafana.serviceMonitor.selfMonitor` | Create a `serviceMonitor` to automatically monitor the grafana instance | `true` |
|
||||
| `grafana.additionalDataSources` | Configure additional grafana datasources | `[]` |
|
||||
| `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.ingress.enabled` | Enables Ingress for Grafana | `false` |
|
||||
|
||||
@@ -362,6 +362,24 @@ grafana:
|
||||
serviceMonitor:
|
||||
selfMonitor: true
|
||||
|
||||
## Configure additional grafana datasources
|
||||
## ref: http://docs.grafana.org/administration/provisioning/#datasources
|
||||
##
|
||||
additionalDataSources: []
|
||||
# - name: prometheus-sample
|
||||
# access: proxy
|
||||
# basicAuth: true
|
||||
# basicAuthPassword: pass
|
||||
# basicAuthUser: daco
|
||||
# editable: false
|
||||
# jsonData:
|
||||
# tlsSkipVerify: true
|
||||
# orgId: 1
|
||||
# type: prometheus
|
||||
# url: https://prometheus.svc:9090
|
||||
# version: 1
|
||||
|
||||
|
||||
## Component scraping the kube api server
|
||||
##
|
||||
kubeApiServer:
|
||||
|
||||
@@ -16,4 +16,7 @@ data:
|
||||
url: http://{{ template "prometheus-operator.fullname" . }}-prometheus:9090/{{ trimPrefix "/" .Values.prometheus.prometheusSpec.routePrefix }}
|
||||
access: proxy
|
||||
isDefault: true
|
||||
{{- end }}
|
||||
{{- if .Values.grafana.additionalDataSources }}
|
||||
{{ toYaml .Values.grafana.additionalDataSources | indent 4}}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -357,6 +357,22 @@ grafana:
|
||||
# configMap: certs-configmap
|
||||
# readOnly: true
|
||||
|
||||
## Configure additional grafana datasources
|
||||
## ref: http://docs.grafana.org/administration/provisioning/#datasources
|
||||
additionalDataSources: []
|
||||
# - name: prometheus-sample
|
||||
# access: proxy
|
||||
# basicAuth: true
|
||||
# basicAuthPassword: pass
|
||||
# basicAuthUser: daco
|
||||
# editable: false
|
||||
# jsonData:
|
||||
# tlsSkipVerify: true
|
||||
# orgId: 1
|
||||
# type: prometheus
|
||||
# url: https://prometheus.svc:9090
|
||||
# version: 1
|
||||
|
||||
## If true, create a serviceMonitor for grafana
|
||||
##
|
||||
serviceMonitor:
|
||||
|
||||
Reference in New Issue
Block a user