Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Use emptyDir for pgbackrest repo1-path #578

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
2 changes: 1 addition & 1 deletion charts/timescaledb-single/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
apiVersion: v1
name: timescaledb-single
description: 'TimescaleDB HA Deployment.'
version: 0.33.1
version: 0.33.2
icon: https://cdn.iconscout.com/icon/free/png-256/timescaledb-1958407-1651618.png

# appVersion specifies the version of the software, which can vary wildly,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,8 @@ spec:
- mountPath: /etc/pgbackrest_secrets
name: pgbackrest-secrets
readOnly: true
- mountPath: {{ index .Values.backup.pgBackRest "repo1-path" | default (printf "/%s/%s/" .Release.Namespace (include "clusterName" .)) | quote }}
name: pgbackrest-repo
env:
- name: PGHOST
value: /var/run/postgresql
Expand Down Expand Up @@ -528,6 +530,10 @@ spec:
secret:
secretName: {{ .Values.bootstrapFromBackup.secretName }}
optional: True
{{- if or .Values.backup.enabled .Values.backup.enable }}
- name: pgbackrest-repo
emptyDir: {}
{{- end }}
{{- if not .Values.persistentVolumes.data.enabled }}
- name: storage-volume
emptyDir: {}
Expand Down