File tree Expand file tree Collapse file tree 4 files changed +16
-3
lines changed
helm-chart/postgrescluster Expand file tree Collapse file tree 4 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 330 . ` eoapi-k8s ` depends on the [ Crunchydata Postgresql Operator] ( https://access.crunchydata.com/documentation/postgres-operator/latest/installation/helm ) . Install that first:
44
55 ``` bash
6- $ helm install --set disable_check_for_upgrades=true pgo oci://registry.developers.crunchydata.com/crunchydata/pgo --version 5.5.2
6+ $ helm install --set disable_check_for_upgrades=true pgo oci://registry.developers.crunchydata.com/crunchydata/pgo --version 5.7.0
77 ```
88
991 . Add the eoapi repo from https://devseed.com/eoapi-k8s/ :
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ name: postgrescluster
33description : A Helm chart for eoapi database dep for k8s
44type : application
55# The version below should match the version on the PostgresCluster CRD
6- version : 5.5.3
7- appVersion : 5.5.3
6+ # from CrunchyData's Postgres Operator
7+ # https://access.crunchydata.com/documentation/postgres-operator/latest/releases
8+ version : 5.7.0
9+ appVersion : 5.7.0
810force : true
Original file line number Diff line number Diff line change 3636 memory : {{ default "" .Values.instanceMemory | quote }}
3737 {{- end }}
3838 {{- end }}
39+ {{- if .Values.backupsEnabled }}
3940 backups :
4041 pgbackrest :
4142 {{- if .Values.imagePgBackRest }}
@@ -142,6 +143,7 @@ spec:
142143 requests :
143144 storage : {{ default "1Gi" .Values.backupsSize | quote }}
144145 {{- end }}
146+ {{- end }}
145147 {{- if or .Values.pgBouncerReplicas .Values.pgBouncerConfig }}
146148 proxy :
147149 pgBouncer :
Original file line number Diff line number Diff line change @@ -173,6 +173,15 @@ postgresVersion: 16
173173# Backups / pgBackRest Settings #
174174# ################################
175175
176+ # backupsEnabled sets whether pgBackRest backups are enabled.
177+ # This is disabled by default.
178+ # Disabling backups is only supported on CrunchyData Postgres Operator v5.7.0 and above.
179+ # If you are using a version below v5.7.0, you will need to enable backups.
180+ # If enabled, please carefully review the pgBackRest config below.
181+ # Check out CrunchyData's Postgres Operator docs for more info:
182+ # https://access.crunchydata.com/documentation/postgres-operator/v5/tutorials/backups-disaster-recovery/backups
183+ backupsEnabled : false
184+
176185# backupsSize sets the storage size of the backups to a volume in Kubernetes.
177186# can be overridden by "pgBackRestConfig", if set. Defaults to the value below.
178187# backupsSize: 1Gi
You can’t perform that action at this time.
0 commit comments