We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ef871c commit c215551Copy full SHA for c215551
charts/mcp-stack/templates/postgres-pv.yaml
@@ -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