yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 1 | #{{ if not .Values.disableMsoMariadb }} |
BorislavG | 66a9a5c | 2017-09-06 15:12:46 +0300 | [diff] [blame] | 2 | apiVersion: v1 |
| 3 | kind: PersistentVolume |
| 4 | metadata: |
BorislavG | abbe9d7 | 2017-09-12 18:00:28 +0300 | [diff] [blame] | 5 | name: "{{ .Values.nsPrefix }}-mso-db" |
BorislavG | 66a9a5c | 2017-09-06 15:12:46 +0300 | [diff] [blame] | 6 | namespace: "{{ .Values.nsPrefix }}-mso" |
| 7 | labels: |
BorislavG | abbe9d7 | 2017-09-12 18:00:28 +0300 | [diff] [blame] | 8 | name: "{{ .Values.nsPrefix }}-mso-db" |
BorislavG | 66a9a5c | 2017-09-06 15:12:46 +0300 | [diff] [blame] | 9 | spec: |
| 10 | capacity: |
| 11 | storage: 2Gi |
| 12 | accessModes: |
| 13 | - ReadWriteMany |
| 14 | persistentVolumeReclaimPolicy: Retain |
| 15 | hostPath: |
| 16 | path: /dockerdata-nfs/{{ .Values.nsPrefix }}/mso/mariadb/data |
| 17 | --- |
| 18 | kind: PersistentVolumeClaim |
| 19 | apiVersion: v1 |
| 20 | metadata: |
| 21 | name: mso-db |
| 22 | namespace: "{{ .Values.nsPrefix }}-mso" |
| 23 | spec: |
| 24 | accessModes: |
| 25 | - ReadWriteMany |
| 26 | resources: |
| 27 | requests: |
| 28 | storage: 2Gi |
| 29 | selector: |
| 30 | matchLabels: |
BorislavG | abbe9d7 | 2017-09-12 18:00:28 +0300 | [diff] [blame] | 31 | name: "{{ .Values.nsPrefix }}-mso-db" |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 32 | #{{ end }} |