Skip to content

Commit b65c4ae

Browse files
authored
Fix Grafana's data source config for pgsql (#666)
### Checklist - [x] Follow the [manual testing process](https://github.com/sourcegraph/deploy-sourcegraph-helm/blob/main/TEST.md) - [ ] Update [changelog](https://github.com/sourcegraph/deploy-sourcegraph-helm/blob/main/charts/sourcegraph/CHANGELOG.md) - [ ] Update [Kubernetes update doc](https://docs.sourcegraph.com/admin/updates/kubernetes) ### Test plan Tested on self-hosted instance <!-- As part of SOC2/GN-104 and SOC2/GN-105 requirements, all pull requests are REQUIRED to provide a "test plan". A test plan is a loose explanation of what you have done or implemented to test this, as outlined in our Testing principles and guidelines: https://docs.sourcegraph.com/dev/background-information/testing_principles Write your test plan here after the "Test plan" header. -->
1 parent eb39c03 commit b65c4ae

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,15 @@ data:
1616
access: proxy
1717
url: http://{{ default "jaeger-query" .Values.jaeger.query.name }}:16686/-/debug/jaeger
1818
- name: pgsql
19-
type: postgres
20-
url: $GRAFANA_PGSQL_HOST:$GRAFANA_PGSQL_PORT
21-
user: $GRAFANA_PGSQL_USER
2219
database: $GRAFANA_PGSQL_DATABASE
23-
secureJsonData:
24-
password: $GRAFANA_PGSQL_PASSWORD
20+
editable: true
2521
jsonData:
2622
sslmode: $GRAFANA_PGSQL_SSLMODE
23+
secureJsonData:
24+
password: $GRAFANA_PGSQL_PASSWORD
25+
type: postgres
26+
url: $GRAFANA_PGSQL_HOST:$GRAFANA_PGSQL_PORT
27+
user: $GRAFANA_PGSQL_USER
2728
kind: ConfigMap
2829
metadata:
2930
labels:

0 commit comments

Comments
 (0)