feat: add basic pgo
This commit is contained in:
26
postgres-operator-examples-main/kustomize/gcs/postgres.yaml
Normal file
26
postgres-operator-examples-main/kustomize/gcs/postgres.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
apiVersion: postgres-operator.crunchydata.com/v1beta1
|
||||
kind: PostgresCluster
|
||||
metadata:
|
||||
name: hippo-gcs
|
||||
spec:
|
||||
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi8-14.7-0
|
||||
postgresVersion: 14
|
||||
instances:
|
||||
- dataVolumeClaimSpec:
|
||||
accessModes:
|
||||
- "ReadWriteOnce"
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
backups:
|
||||
pgbackrest:
|
||||
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:ubi8-2.41-4
|
||||
configuration:
|
||||
- secret:
|
||||
name: pgo-gcs-creds
|
||||
global:
|
||||
repo1-path: /pgbackrest/postgres-operator/hippo-gcs/repo1
|
||||
repos:
|
||||
- name: repo1
|
||||
gcs:
|
||||
bucket: "<YOUR_GCS_BUCKET_NAME>"
|
Reference in New Issue
Block a user