yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 1 | #{{ if not .Values.disableClampClampMariadb }} |
Dusan Rozman | f776f3d | 2017-09-18 13:07:56 -0400 | [diff] [blame] | 2 | apiVersion: v1 |
| 3 | kind: PersistentVolume |
| 4 | metadata: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 5 | name: "{{ .Values.nsPrefix }}-clamp" |
| 6 | namespace: "{{ .Values.nsPrefix }}" |
Dusan Rozman | f776f3d | 2017-09-18 13:07:56 -0400 | [diff] [blame] | 7 | labels: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 8 | name: "{{ .Values.nsPrefix }}-clamp" |
Dusan Rozman | f776f3d | 2017-09-18 13:07:56 -0400 | [diff] [blame] | 9 | spec: |
| 10 | capacity: |
| 11 | storage: 2Gi |
| 12 | accessModes: |
| 13 | - ReadWriteMany |
| 14 | persistentVolumeReclaimPolicy: Retain |
| 15 | hostPath: |
kerenj | 35464a0 | 2018-02-25 09:19:25 +0000 | [diff] [blame] | 16 | path: {{ .Values.dataRootDir }}/{{ .Values.nsPrefix }}/clamp/mariadb/data |
Dusan Rozman | f776f3d | 2017-09-18 13:07:56 -0400 | [diff] [blame] | 17 | --- |
| 18 | kind: PersistentVolumeClaim |
| 19 | apiVersion: v1 |
| 20 | metadata: |
| 21 | name: clamp-db |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 22 | namespace: "{{ .Values.nsPrefix }}" |
Dusan Rozman | f776f3d | 2017-09-18 13:07:56 -0400 | [diff] [blame] | 23 | spec: |
| 24 | accessModes: |
| 25 | - ReadWriteMany |
| 26 | resources: |
| 27 | requests: |
| 28 | storage: 2Gi |
| 29 | selector: |
| 30 | matchLabels: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 31 | name: "{{ .Values.nsPrefix }}-clamp" |
kerenj | 35464a0 | 2018-02-25 09:19:25 +0000 | [diff] [blame] | 32 | #{{ end }} |