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 - name: Datanommer
type: postgres type: postgres
url: db-datanommer01.iad2.fedoraproject.org:5432 url: db-datanommer01.iad2.fedoraproject.org:5432
database: datanommer database: datanommer2
user: datanommer_ro user: datanommer_ro
secureJsonData: secureJsonData:
password: {{ datanommer_ro_password }} password: {{ datanommer_ro_password }}
@ -24,10 +24,3 @@ data:
connMaxLifetime: 14400 # Grafana v5.4+ connMaxLifetime: 14400 # Grafana v5.4+
postgresVersion: 1200 # 903=9.3, 904=9.4, 905=9.5, 906=9.6, 1000=10 postgresVersion: 1200 # 903=9.3, 904=9.4, 905=9.5, 906=9.6, 1000=10
timescaledb: false 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 name: monitor-dashboard
spec: spec:
replicas: 1 replicas: 1
selector:
matchLabels:
app: monitor-dashboard
deploymentconfig: monitor-dashboard
template: template:
metadata: metadata:
labels: labels:
@ -58,11 +54,12 @@ spec:
- name: 'GF_USERS_AUTO_ASSIGN_ORG_ROLE' - name: 'GF_USERS_AUTO_ASSIGN_ORG_ROLE'
value: 'Admin' value: 'Admin'
- name: 'V' - name: 'V'
value: '14' value: '15'
image: registry.hub.docker.com/grafana/grafana:latest image: registry.hub.docker.com/grafana/grafana:latest
name: dashboard name: dashboard
ports: ports:
- containerPort: 3000 - containerPort: 3000
volumeMounts:
- mountPath: /etc/grafana/provisioning/datasources - mountPath: /etc/grafana/provisioning/datasources
name: grafana-datasources name: grafana-datasources
- mountPath: /var/lib/grafana/dashboards - mountPath: /var/lib/grafana/dashboards