diff --git a/kustomize/postgres13/kustomization.yaml b/kustomize/postgres13/kustomization.yaml new file mode 100644 index 00000000..0c6e933e --- /dev/null +++ b/kustomize/postgres13/kustomization.yaml @@ -0,0 +1,4 @@ +namespace: shared + +resources: +- postgres.yaml diff --git a/kustomize/postgres13/postgres.yaml b/kustomize/postgres13/postgres.yaml new file mode 100644 index 00000000..3bb9412f --- /dev/null +++ b/kustomize/postgres13/postgres.yaml @@ -0,0 +1,27 @@ +apiVersion: postgres-operator.crunchydata.com/v1beta1 +kind: PostgresCluster +metadata: + name: pg +spec: + image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi8-13.8-1 + postgresVersion: 13 + instances: + - name: instance1 + dataVolumeClaimSpec: + accessModes: + - "ReadWriteOnce" + resources: + requests: + storage: 1Gi + backups: + pgbackrest: + image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:ubi8-2.40-1 + repos: + - name: repo1 + volume: + volumeClaimSpec: + accessModes: + - "ReadWriteOnce" + resources: + requests: + storage: 1Gi