Skip to content

Commit

Permalink
Add NFS Option to PGBackRest (#147)
Browse files Browse the repository at this point in the history
* add nfs option to pgbackrest

---------

Co-authored-by: ranchodeluxe <greg.corradini@gmail.com>
  • Loading branch information
ranchodeluxe and ranchodeluxe authored Sep 20, 2024
1 parent 4b8113b commit 7d9a394
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions helm-chart/postgrescluster/templates/postgres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,19 @@ spec:
- name: repo1
azure:
container: {{ .Values.azure.container | quote }}
{{- else if .Values.nfsCustom }}
repos:
- name: repo1
volume:
volumeClaimSpec:
{{- if .Values.backupsStorageClassName }}
storageClassName: {{ .Values.backupsStorageClassName | quote }}
{{- end }}
accessModes:
- "ReadWriteMany"
resources:
requests:
storage: {{ default "1Gi" .Values.backupsSize | quote }}
{{- else }}
repos:
- name: repo1
Expand Down

0 comments on commit 7d9a394

Please sign in to comment.