From c4889f07d68870b84a1c78d168cd55145ce99ef0 Mon Sep 17 00:00:00 2001 From: Marc <7050295+marcleblanc2@users.noreply.github.com> Date: Fri, 18 Oct 2024 17:39:52 -0600 Subject: [PATCH] Update env var names in Grafana datasource --- grafana/datasources/datasources-pgsql.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/grafana/datasources/datasources-pgsql.yaml b/grafana/datasources/datasources-pgsql.yaml index 358ecf1f..52577cc9 100644 --- a/grafana/datasources/datasources-pgsql.yaml +++ b/grafana/datasources/datasources-pgsql.yaml @@ -3,10 +3,10 @@ apiVersion: 1 datasources: - name: pgsql type: postgres - url: $PGHOST:$PGPORT - user: $PGGRAFANAUSER - database: $PGDATABASE + url: $GRAFANA_PGSQL_HOST:$GRAFANA_PGSQL_PORT + user: $GRAFANA_PGSQL_USER + database: $GRAFANA_PGSQL_DATABASE secureJsonData: - password: $PGGRAFANAPASSWORD + password: $GRAFANA_PGSQL_PASSWORD jsonData: - sslmode: $PGSSLMODE + sslmode: $GRAFANA_PGSQL_SSLMODE