2
0
mirror of https://github.com/nofusscomputing/kubernetes.git synced 2025-08-02 04:22:42 +00:00

feat(postgres): Add cnpg grafana dashboard as component

ref: #18
This commit is contained in:
2025-08-02 13:52:29 +09:30
parent 434e07f185
commit 65840a8e60
3 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,17 @@
---
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
metadata:
labels:
app.kubernetes.io/component: database
name: cloudnativepg
spec:
allowCrossNamespaceImport: true
folder: "General"
resyncPeriod: 24h
instanceSelector:
matchLabels:
dashboards: grafana
grafanaCom:
id: 20417
revision: 4 # as @ 2025-08-02

View File

@ -0,0 +1,7 @@
---
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component
resources:
- GrafanaDashboard-cloudnativepg.yaml

View File

@ -13,6 +13,7 @@ resources:
components:
- ../../components/ha
- ../../components/metrics
- ../../components/dashboard
patches: