Skip to content

Commit c215551

Browse files
author
popagruia
committed
bring files from main
1 parent 2ef871c commit c215551

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{{- if and .Values.postgres.enabled .Values.postgres.persistence.enabled }}
2+
apiVersion: v1
3+
kind: PersistentVolume
4+
metadata:
5+
name: postgres-pv-volume
6+
labels:
7+
type: local
8+
app: postgres
9+
spec:
10+
storageClassName: {{ .Values.postgres.persistence.storageClassName }}
11+
capacity:
12+
storage: {{ .Values.postgres.persistence.size }}
13+
accessModes: {{- toYaml .Values.postgres.persistence.accessModes | nindent 4 }}
14+
hostPath:
15+
path: "/mnt/data"
16+
{{- end }}

0 commit comments

Comments
 (0)