forked from dfds/k8s-monitoring
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdatasource.yaml
43 lines (43 loc) · 1.18 KB
/
datasource.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
apiVersion: v1
data:
datasource.yaml: |-
apiVersion: 1
datasources:
- name: Prometheus
type: prometheus
url: http://monitoring-kube-prometheus-prometheus.monitoring:9090
access: proxy
isDefault: true
- name: Postgres-Overdue
type: postgres
url: $(OVERDUEFORECAST_POSTGRES_URL)
database: overdueforecast
user: $(OVERDUEFORECAST_USER)
secureJsonData:
password: $(OVERDUEFORECAST_PASSWORD)
jsonData:
sslmode: "require" # disable/require/verify-ca/verify-full
maxOpenConns: 1
maxIdleConns: 5
connMaxLifetime: 14400
postgresVersion: 13
timescaledb: false
- name: Postgres-overbooking
type: postgres
url: $(OVERBOOKING_POSTGRESS_URL)
database: overbookingdb
user: $(OVERBOOOKING_USER)
secureJsonData:
password: $(OVERBOOKING_PASSWORD)
jsonData:
sslmode: "require" # disable/require/verify-ca/verify-full
maxOpenConns: 1
maxIdleConns: 5
connMaxLifetime: 14400
postgresVersion: 13
timescaledb: false
kind: ConfigMap
metadata:
labels:
grafana_datasource: "1"
name: grafana-datasource