diff --git a/cluster-tutorials/public-beta-pg17/kustomization.yaml b/cluster-tutorials/public-beta-pg17/kustomization.yaml new file mode 100644 index 0000000..d097741 --- /dev/null +++ b/cluster-tutorials/public-beta-pg17/kustomization.yaml @@ -0,0 +1,10 @@ +secretGenerator: +- name: cluster-1-pvc-configuration + files: + - pvc.configuration + +generatorOptions: + disableNameSuffixHash: true + +resources: +- postgres.yaml diff --git a/cluster-tutorials/public-beta-pg17/postgres.yaml b/cluster-tutorials/public-beta-pg17/postgres.yaml index 4d11d27..6b712b9 100644 --- a/cluster-tutorials/public-beta-pg17/postgres.yaml +++ b/cluster-tutorials/public-beta-pg17/postgres.yaml @@ -1,7 +1,7 @@ apiVersion: cpo.opensource.cybertec.at/v1 kind: postgresql metadata: - name: publicbeta-cluster-1 + name: beta-cluster-1 spec: dockerImage: 'docker.io/cybertecpostgresql/cybertec-pg-container:postgres-17beta2-1' numberOfInstances: 1 @@ -17,4 +17,18 @@ spec: teamId: acid volume: size: 5Gi - #storageClass: default-provisioner + backup: + pgbackrest: + configuration: + secret: cluster-1-pvc-configuration + global: + repo1-retention-full: '3' + repo1-retention-full-type: count + image: docker.io/cybertecpostgresql/cybertec-pg-container:pgbackrest-17beta2-1' + repos: + - name: repo1 + schedule: + full: 30 2 * * * + storage: pvc + volume: + size: 10Gi \ No newline at end of file