feat: add basic pgo
This commit is contained in:
1
postgres-operator-examples-main/kustomize/azure/.gitignore
vendored
Normal file
1
postgres-operator-examples-main/kustomize/azure/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
azure.conf
|
@@ -0,0 +1,3 @@
|
||||
[global]
|
||||
repo1-azure-account=<YOUR_AZURE_ACCOUNT>
|
||||
repo1-azure-key=<YOUR_AZURE_KEY>
|
@@ -0,0 +1,12 @@
|
||||
namespace: postgres-operator
|
||||
|
||||
secretGenerator:
|
||||
- name: pgo-azure-creds
|
||||
files:
|
||||
- azure.conf
|
||||
|
||||
generatorOptions:
|
||||
disableNameSuffixHash: true
|
||||
|
||||
resources:
|
||||
- postgres.yaml
|
@@ -0,0 +1,26 @@
|
||||
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>"
|
Reference in New Issue
Block a user