fix(cloudnative-pg): add namespaces to cluster resources

This commit is contained in:
SeanOMik 2024-10-16 19:52:14 -04:00
parent 95f9682843
commit 700fc7307c
Signed by: SeanOMik
GPG Key ID: FEC9E2FC15235964
3 changed files with 3 additions and 3 deletions

View File

@ -4,9 +4,7 @@ apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
name: cloudnative-pg-rules
labels:
prometheus: k8s
role: alert-rules
namespace: database
spec:
groups:
- name: cloudnative-pg.rules

View File

@ -4,6 +4,7 @@ apiVersion: postgresql.cnpg.io/v1
kind: ScheduledBackup
metadata:
name: postgres
namespace: database
spec:
schedule: "@daily"
immediate: true

View File

@ -37,6 +37,7 @@ spec:
interval: 10m
path: ./kubernetes/main/apps/database/postgresql/cluster
prune: true
targetNamespace: database
sourceRef:
kind: GitRepository
name: home-cluster