blob: 51392f7c305bad1a89de20ea45d52d408d828331 [file] [log] [blame]
BorislavG66a9a5c2017-09-06 15:12:46 +03001apiVersion: v1
2kind: PersistentVolume
3metadata:
4 name: appc-db
5 namespace: "{{ .Values.nsPrefix }}-appc"
6 labels:
7 name: appc-db
8spec:
9 capacity:
10 storage: 2Gi
11 accessModes:
12 - ReadWriteMany
13 persistentVolumeReclaimPolicy: Retain
14 hostPath:
15 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/appc/data
16---
17kind: PersistentVolumeClaim
18apiVersion: v1
19metadata:
20 name: appc-db
21 namespace: "{{ .Values.nsPrefix }}-appc"
22spec:
23 accessModes:
24 - ReadWriteMany
25 resources:
26 requests:
27 storage: 2Gi
28 selector:
29 matchLabels:
30 name: appc-db