fix(cloudnative-pg): add namespaces to cluster resources
This commit is contained in:
parent
95f9682843
commit
700fc7307c
|
@ -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
|
||||
|
|
|
@ -4,6 +4,7 @@ apiVersion: postgresql.cnpg.io/v1
|
|||
kind: ScheduledBackup
|
||||
metadata:
|
||||
name: postgres
|
||||
namespace: database
|
||||
spec:
|
||||
schedule: "@daily"
|
||||
immediate: true
|
||||
|
|
|
@ -37,6 +37,7 @@ spec:
|
|||
interval: 10m
|
||||
path: ./kubernetes/main/apps/database/postgresql/cluster
|
||||
prune: true
|
||||
targetNamespace: database
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: home-cluster
|
||||
|
|
Loading…
Reference in New Issue