Skip to content

Commit 0979328

Browse files
committed
Add pgbackrest config for full backup retention count
1 parent d877417 commit 0979328

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

helm-chart/eoapi/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ kubeVersion: ">=1.23.0-0"
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: "0.5.5"
18+
version: "0.5.6"
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
@@ -25,6 +25,6 @@ appVersion: "0.4.0"
2525

2626
dependencies:
2727
- name: postgrescluster
28-
version: 5.5.3
29-
repository: "https://devseed.com/eoapi-k8s/"
28+
version: 5.5.4
29+
repository: "https://eopf-sample-service.github.io/eoapi-helm-chart/"
3030
condition: postgrescluster.enabled

helm-chart/postgrescluster/Chart.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@ name: postgrescluster
33
description: A Helm chart for eoapi database dep for k8s
44
type: application
55
# The version below should match the version on the PostgresCluster CRD
6-
version: 5.5.3
7-
appVersion: 5.5.3
8-
force: true
6+
version: 5.5.4
7+
appVersion: 5.5.4

helm-chart/postgrescluster/templates/postgres.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,9 @@ spec:
116116
azure:
117117
container: {{ .Values.azure.container | quote }}
118118
{{- else if .Values.nfsCustom }}
119+
global:
120+
repo1-retention-full-type: count
121+
repo1-retention-full: {{ default "2" .Values.backupRetentionFullCount | quote }}
119122
repos:
120123
- name: repo1
121124
volume:
@@ -129,6 +132,9 @@ spec:
129132
requests:
130133
storage: {{ default "1Gi" .Values.backupsSize | quote }}
131134
{{- else }}
135+
global:
136+
repo1-retention-full-type: count
137+
repo1-retention-full: {{ default "2" .Values.backupRetentionFullCount | quote }}
132138
repos:
133139
- name: repo1
134140
volume:

0 commit comments

Comments
 (0)