Mike Elliott | 38692ad | 2018-03-22 11:26:49 -0400 | [diff] [blame^] | 1 | {{/* |
vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 2 | # Copyright © 2017 Amdocs, Bell Canada |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
Mike Elliott | 38692ad | 2018-03-22 11:26:49 -0400 | [diff] [blame^] | 15 | */}} |
vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 16 | |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 17 | #{{ if not .Values.disableMsoMariadb }} |
BorislavG | 66a9a5c | 2017-09-06 15:12:46 +0300 | [diff] [blame] | 18 | apiVersion: v1 |
| 19 | kind: PersistentVolume |
| 20 | metadata: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 21 | name: "{{ .Values.nsPrefix }}-mso" |
| 22 | namespace: "{{ .Values.nsPrefix }}" |
BorislavG | 66a9a5c | 2017-09-06 15:12:46 +0300 | [diff] [blame] | 23 | labels: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 24 | name: "{{ .Values.nsPrefix }}-mso" |
BorislavG | 66a9a5c | 2017-09-06 15:12:46 +0300 | [diff] [blame] | 25 | spec: |
| 26 | capacity: |
| 27 | storage: 2Gi |
| 28 | accessModes: |
| 29 | - ReadWriteMany |
| 30 | persistentVolumeReclaimPolicy: Retain |
| 31 | hostPath: |
kerenj | 98314e3 | 2018-02-25 15:30:31 +0000 | [diff] [blame] | 32 | path: {{ .Values.dataRootDir }}/{{ .Values.nsPrefix }}/mso/mariadb/data |
BorislavG | 66a9a5c | 2017-09-06 15:12:46 +0300 | [diff] [blame] | 33 | --- |
| 34 | kind: PersistentVolumeClaim |
| 35 | apiVersion: v1 |
| 36 | metadata: |
| 37 | name: mso-db |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 38 | namespace: "{{ .Values.nsPrefix }}" |
BorislavG | 66a9a5c | 2017-09-06 15:12:46 +0300 | [diff] [blame] | 39 | spec: |
| 40 | accessModes: |
| 41 | - ReadWriteMany |
| 42 | resources: |
| 43 | requests: |
| 44 | storage: 2Gi |
| 45 | selector: |
| 46 | matchLabels: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 47 | name: "{{ .Values.nsPrefix }}-mso" |
kerenj | 98314e3 | 2018-02-25 15:30:31 +0000 | [diff] [blame] | 48 | #{{ end }} |