blob: 0d36141b6c64aa381d4483bea0bad1aca2b892da [file] [log] [blame]
yurynfcef9942017-10-26 17:10:50 +03001#{{ if not .Values.disableClampClampMariadb }}
Dusan Rozmanf776f3d2017-09-18 13:07:56 -04002apiVersion: v1
3kind: PersistentVolume
4metadata:
5 name: "{{ .Values.nsPrefix }}-clamp-db"
6 namespace: "{{ .Values.nsPrefix }}-clamp"
7 labels:
8 name: "{{ .Values.nsPrefix }}-clamp-db"
9spec:
10 capacity:
11 storage: 2Gi
12 accessModes:
13 - ReadWriteMany
14 persistentVolumeReclaimPolicy: Retain
15 hostPath:
16 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/clamp/mariadb/data
17---
18kind: PersistentVolumeClaim
19apiVersion: v1
20metadata:
21 name: clamp-db
22 namespace: "{{ .Values.nsPrefix }}-clamp"
23spec:
24 accessModes:
25 - ReadWriteMany
26 resources:
27 requests:
28 storage: 2Gi
29 selector:
30 matchLabels:
31 name: "{{ .Values.nsPrefix }}-clamp-db"
yurynfcef9942017-10-26 17:10:50 +030032#{{ end }}