Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion charts/crunchy-postgres/templates/PostgresCluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,14 @@ spec:
name: {{ .Values.dataSource.secretName }}
global:
repo2-path: {{ .Values.dataSource.repo.path }}
repo2-s3-uri-style: {{ .Values.dataSource.repo.s3UriStyle }}
repo:
name: {{ .Values.dataSource.repo.name }}
s3:
bucket: {{ .Values.dataSource.repo.s3.bucket }}
endpoint: {{ .Values.dataSource.repo.s3.endpoint }}
region: {{ .Values.dataSource.repo.s3.region }}
stanza: {{ .Values.dataSource.stanza }}
stanza: {{ .Values.dataSource.repo.stanza }}
{{ end }}

backups:
Expand Down
5 changes: 3 additions & 2 deletions charts/crunchy-postgres/values.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
fullnameOverride: crunchy-postgres

crunchyImage: # it's not necessary to specify an image as the images specified in the Crunchy Postgres Operator will be pulled by default
#crunchyImage: artifacts.developer.gov.bc.ca/bcgov-docker-local/crunchy-postgres-gis:ubi8-15.2-3.3-0 # use this image for POSTGIS
postgresVersion: 15
#postGISVersion: '3.3' # use this version of POSTGIS. both crunchyImage and this property needs to have valid values for POSTGIS to be enabled.
#postGISVersion: '3.3' # use this version of POSTGIS.
imagePullPolicy: IfNotPresent

# enable to bootstrap a standby cluster from backup. Then disable to promote this standby to primary
Expand Down Expand Up @@ -40,6 +39,8 @@ dataSource:
secretName: s3-pgbackrest
repo:
name: repo2
# s3UriStyle is host or path
s3UriStyle: path
path: "/habackup"
s3:
bucket: "bucketName"
Expand Down