diff --git a/cnpg/resources/backup.yaml b/cnpg/resources/backup.yaml index 46175a9..883fd04 100644 --- a/cnpg/resources/backup.yaml +++ b/cnpg/resources/backup.yaml @@ -3,6 +3,7 @@ apiVersion: postgresql.cnpg.io/v1 kind: ScheduledBackup metadata: name: daily-backup + namespace: postgres spec: schedule: "0 1 * * *" backupOwnerReference: self diff --git a/cnpg/resources/cluster.yaml b/cnpg/resources/cluster.yaml index 504bd74..5319d0a 100644 --- a/cnpg/resources/cluster.yaml +++ b/cnpg/resources/cluster.yaml @@ -13,6 +13,8 @@ spec: superuser: true createrole: true createdb: true + inherit: true + connectionLimit: -1 storage: size: 10Gi