chore(grafana): configure solar_toolkit source via configmap

This commit is contained in:
Rob Watson 2023-09-05 19:39:28 +02:00
parent f1eebbc71c
commit 2b98dffba1
3 changed files with 10 additions and 8 deletions

View File

@ -4,3 +4,12 @@ datasources:
name: Prometheus name: Prometheus
type: prometheus type: prometheus
url: http://dev-prometheus-server url: http://dev-prometheus-server
- name: PostgreSQL (solar_toolkit)
type: postgres
url: dev-db:5432
user: solar_toolkit_reader
jsonData:
database: solar_toolkit
sslmode: disable
secureJsonData:
password: postgres

View File

@ -1,7 +0,0 @@
apiVersion: 1
datasources:
- isDefault: true
name: Prometheus
type: prometheus
url: http://prod-prometheus-server

View File

@ -26,7 +26,7 @@ configMapGenerator:
behavior: merge behavior: merge
files: files:
- grafana.ini=secrets/grafana-config.ini - grafana.ini=secrets/grafana-config.ini
- datasources.yaml=grafana-datasources.yaml - datasources.yaml=secrets/grafana-datasources.yaml
- name: invidious-config - name: invidious-config
files: files:
- config.yml=invidious-config.yaml - config.yml=invidious-config.yaml