Skip to content

Commit c4889f0

Browse files
authored
Update env var names in Grafana datasource
1 parent 99df12d commit c4889f0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

grafana/datasources/datasources-pgsql.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ apiVersion: 1
33
datasources:
44
- name: pgsql
55
type: postgres
6-
url: $PGHOST:$PGPORT
7-
user: $PGGRAFANAUSER
8-
database: $PGDATABASE
6+
url: $GRAFANA_PGSQL_HOST:$GRAFANA_PGSQL_PORT
7+
user: $GRAFANA_PGSQL_USER
8+
database: $GRAFANA_PGSQL_DATABASE
99
secureJsonData:
10-
password: $PGGRAFANAPASSWORD
10+
password: $GRAFANA_PGSQL_PASSWORD
1111
jsonData:
12-
sslmode: $PGSSLMODE
12+
sslmode: $GRAFANA_PGSQL_SSLMODE

0 commit comments

Comments
 (0)