blob: 8d9becf2d50135197171b4e44e5e6cb0b86cb9dd [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:
BorislavG8bfc6cf2018-02-27 15:04:26 +00005 name: "{{ .Values.nsPrefix }}-sdc"
6 namespace: "{{ .Values.nsPrefix }}"
BorislavG66a9a5c2017-09-06 15:12:46 +03007 labels:
BorislavG8bfc6cf2018-02-27 15:04:26 +00008 name: "{{ .Values.nsPrefix }}-sdc"
BorislavG66a9a5c2017-09-06 15:12:46 +03009spec:
10 capacity:
11 storage: 2Gi
12 accessModes:
13 - ReadWriteMany
14 persistentVolumeReclaimPolicy: Retain
15 hostPath:
kerenj390aec92018-02-25 13:57:36 +000016 path: {{ .Values.dataRootDir }}/{{ .Values.nsPrefix }}/sdc/sdc-cs/CS
BorislavG66a9a5c2017-09-06 15:12:46 +030017---
18kind: PersistentVolumeClaim
19apiVersion: v1
20metadata:
21 name: sdc-cs-db
BorislavG8bfc6cf2018-02-27 15:04:26 +000022 namespace: "{{ .Values.nsPrefix }}"
BorislavG66a9a5c2017-09-06 15:12:46 +030023spec:
24 accessModes:
25 - ReadWriteMany
26 resources:
27 requests:
28 storage: 2Gi
29 selector:
30 matchLabels:
BorislavG8bfc6cf2018-02-27 15:04:26 +000031 name: "{{ .Values.nsPrefix }}-sdc"
kerenj390aec92018-02-25 13:57:36 +000032#{{ end }}