Skip to content

Commit

Permalink
fix(cnpg): force retention days to string
Browse files Browse the repository at this point in the history
  • Loading branch information
achauve committed Oct 17, 2023
1 parent 0fd9787 commit 976044d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/cnpg-cluster/templates/backup-cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@ spec:
- name: PGHOST
value: {{ include "cnpg-cluster.fullname" $ }}-r
- name: RETENTION_DAYS
value: {{ .Values.backup.sqlDumpRetentionDays }}
value: "{{ .Values.backup.sqlDumpRetentionDays }}"
{{- end}}
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ cluster with enabled backup and recovery:
- name: PGHOST
value: RELEASE-NAME-cnpg-cluster-r
- name: RETENTION_DAYS
value: 30
value: "30"
image: ghcr.io/socialgouv/docker/s3-client:1.2.0
imagePullPolicy: IfNotPresent
name: s3-client
Expand Down

0 comments on commit 976044d

Please sign in to comment.