blob: 1ee4ab088b4c08859025833dfb1e04dcf989c9ee [file] [log] [blame]
Mike Elliott38692ad2018-03-22 11:26:49 -04001{{/*
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00002# 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 Elliott38692ad2018-03-22 11:26:49 -040015*/}}
vaibhav_16dece04b2fe2018-03-22 09:07:12 +000016
yurynfcef9942017-10-26 17:10:50 +030017#{{ if not .Values.disableMsoMariadb }}
BorislavG66a9a5c2017-09-06 15:12:46 +030018apiVersion: v1
19kind: PersistentVolume
20metadata:
BorislavG8bfc6cf2018-02-27 15:04:26 +000021 name: "{{ .Values.nsPrefix }}-mso"
22 namespace: "{{ .Values.nsPrefix }}"
BorislavG66a9a5c2017-09-06 15:12:46 +030023 labels:
BorislavG8bfc6cf2018-02-27 15:04:26 +000024 name: "{{ .Values.nsPrefix }}-mso"
BorislavG66a9a5c2017-09-06 15:12:46 +030025spec:
26 capacity:
27 storage: 2Gi
28 accessModes:
29 - ReadWriteMany
30 persistentVolumeReclaimPolicy: Retain
31 hostPath:
kerenj98314e32018-02-25 15:30:31 +000032 path: {{ .Values.dataRootDir }}/{{ .Values.nsPrefix }}/mso/mariadb/data
BorislavG66a9a5c2017-09-06 15:12:46 +030033---
34kind: PersistentVolumeClaim
35apiVersion: v1
36metadata:
37 name: mso-db
BorislavG8bfc6cf2018-02-27 15:04:26 +000038 namespace: "{{ .Values.nsPrefix }}"
BorislavG66a9a5c2017-09-06 15:12:46 +030039spec:
40 accessModes:
41 - ReadWriteMany
42 resources:
43 requests:
44 storage: 2Gi
45 selector:
46 matchLabels:
BorislavG8bfc6cf2018-02-27 15:04:26 +000047 name: "{{ .Values.nsPrefix }}-mso"
kerenj98314e32018-02-25 15:30:31 +000048#{{ end }}