blob: c8ce9531c2d2fb6bb965a05666e9032ae52d5c20 [file] [log] [blame]
yurynfcef9942017-10-26 17:10:50 +03001#{{ if not .Values.disableSdcSdcCs }}
BorislavG66a9a5c2017-09-06 15:12:46 +03002apiVersion: v1
3kind: PersistentVolume
4metadata:
BorislavGabbe9d72017-09-12 18:00:28 +03005 name: "{{ .Values.nsPrefix }}-sdc-cs-db"
BorislavG66a9a5c2017-09-06 15:12:46 +03006 namespace: "{{ .Values.nsPrefix }}-sdc"
7 labels:
BorislavGabbe9d72017-09-12 18:00:28 +03008 name: "{{ .Values.nsPrefix }}-sdc-cs-db"
BorislavG66a9a5c2017-09-06 15:12:46 +03009spec:
10 capacity:
11 storage: 2Gi
12 accessModes:
13 - ReadWriteMany
14 persistentVolumeReclaimPolicy: Retain
15 hostPath:
16 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdc/sdc-cs/CS
17---
18kind: PersistentVolumeClaim
19apiVersion: v1
20metadata:
21 name: sdc-cs-db
22 namespace: "{{ .Values.nsPrefix }}-sdc"
23spec:
24 accessModes:
25 - ReadWriteMany
26 resources:
27 requests:
28 storage: 2Gi
29 selector:
30 matchLabels:
BorislavGabbe9d72017-09-12 18:00:28 +030031 name: "{{ .Values.nsPrefix }}-sdc-cs-db"
yurynfcef9942017-10-26 17:10:50 +030032#{{ end }}