chore(grafana): configure solar_toolkit source via configmap
This commit is contained in:
parent
f1eebbc71c
commit
2b98dffba1
|
@ -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
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
apiVersion: 1
|
|
||||||
datasources:
|
|
||||||
- isDefault: true
|
|
||||||
name: Prometheus
|
|
||||||
type: prometheus
|
|
||||||
url: http://prod-prometheus-server
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue