clank-postgres/postgres-operator-examples-main/kustomize/azure/postgres.yaml

27 lines
735 B
YAML
Raw Permalink Normal View History

2023-04-06 02:21:56 +02:00
apiVersion: postgres-operator.crunchydata.com/v1beta1
kind: PostgresCluster
metadata:
name: hippo-azure
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-azure-creds
global:
repo1-path: /pgbackrest/postgres-operator/hippo-azure/repo1
repos:
- name: repo1
azure:
container: "<YOUR_AZURE_CONTAINER>"