Skip to content

Commit b624039

Browse files
authored
Merge pull request #21 from cybertec-postgresql/publicbeta
add public-beta-tutorial
2 parents ab0fd82 + a1dc3f8 commit b624039

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
secretGenerator:
2+
- name: cluster-1-pvc-configuration
3+
files:
4+
- pvc.configuration
5+
6+
generatorOptions:
7+
disableNameSuffixHash: true
8+
9+
resources:
10+
- postgres.yaml

cluster-tutorials/public-beta-pg17/postgres.yaml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: cpo.opensource.cybertec.at/v1
22
kind: postgresql
33
metadata:
4-
name: publicbeta-cluster-1
4+
name: beta-cluster-1
55
spec:
66
dockerImage: 'docker.io/cybertecpostgresql/cybertec-pg-container:postgres-17beta2-1'
77
numberOfInstances: 1
@@ -17,4 +17,18 @@ spec:
1717
teamId: acid
1818
volume:
1919
size: 5Gi
20-
#storageClass: default-provisioner
20+
backup:
21+
pgbackrest:
22+
configuration:
23+
secret: cluster-1-pvc-configuration
24+
global:
25+
repo1-retention-full: '3'
26+
repo1-retention-full-type: count
27+
image: docker.io/cybertecpostgresql/cybertec-pg-container:pgbackrest-17beta2-1'
28+
repos:
29+
- name: repo1
30+
schedule:
31+
full: 30 2 * * *
32+
storage: pvc
33+
volume:
34+
size: 10Gi

0 commit comments

Comments
 (0)