Skip to content

Commit 97d9472

Browse files
authored
Adding pgsql datasource for Grafana (#564)
1 parent 96b6393 commit 97d9472

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

charts/sourcegraph/templates/grafana/grafana.ConfigMap.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@ data:
1515
type: Jaeger
1616
access: proxy
1717
url: http://{{ default "jaeger-query" .Values.jaeger.query.name }}:16686/-/debug/jaeger
18+
- name: pgsql
19+
type: postgres
20+
url: $PGHOST:$PGPORT
21+
user: $PGGRAFANAUSER
22+
database: $PGDATABASE
23+
secureJsonData:
24+
password: $PGGRAFANAPASSWORD
25+
jsonData:
26+
sslmode: $PGSSLMODE
1827
kind: ConfigMap
1928
metadata:
2029
labels:

0 commit comments

Comments
 (0)