Fix db settings monitor_gating dashboard

This commit is contained in:
Adam Saleh 2023-03-24 18:52:24 +01:00
parent 1a78b8b3b5
commit 784cf9bda6
2 changed files with 3 additions and 13 deletions

View file

@ -12,7 +12,7 @@ data:
- name: Datanommer
type: postgres
url: db-datanommer01.iad2.fedoraproject.org:5432
database: datanommer
database: datanommer2
user: datanommer_ro
secureJsonData:
password: {{ datanommer_ro_password }}
@ -24,10 +24,3 @@ data:
connMaxLifetime: 14400 # Grafana v5.4+
postgresVersion: 1200 # 903=9.3, 904=9.4, 905=9.5, 906=9.6, 1000=10
timescaledb: false
- name: Promscale
type: prometheus
url: https://promscale.apps.ocp.ci.centos.org/
access: proxy
basicAuth: false
withCredentials: false
isDefault: false

View file

@ -6,10 +6,6 @@ metadata:
name: monitor-dashboard
spec:
replicas: 1
selector:
matchLabels:
app: monitor-dashboard
deploymentconfig: monitor-dashboard
template:
metadata:
labels:
@ -58,11 +54,12 @@ spec:
- name: 'GF_USERS_AUTO_ASSIGN_ORG_ROLE'
value: 'Admin'
- name: 'V'
value: '14'
value: '15'
image: registry.hub.docker.com/grafana/grafana:latest
name: dashboard
ports:
- containerPort: 3000
volumeMounts:
- mountPath: /etc/grafana/provisioning/datasources
name: grafana-datasources
- mountPath: /var/lib/grafana/dashboards