blob: a39a975f33fe1cd38f798bf1171442e9417d2372 [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.disableMessageRouterGlobalKafka }}
BorislavG66a9a5c2017-09-06 15:12:46 +030018apiVersion: v1
19kind: PersistentVolume
20metadata:
BorislavGabbe9d72017-09-12 18:00:28 +030021 name: "{{ .Values.nsPrefix }}-message-router-kafka"
BorislavG8bfc6cf2018-02-27 15:04:26 +000022 namespace: "{{ .Values.nsPrefix }}"
BorislavG66a9a5c2017-09-06 15:12:46 +030023 labels:
BorislavGabbe9d72017-09-12 18:00:28 +030024 name: "{{ .Values.nsPrefix }}-message-router-kafka"
BorislavG66a9a5c2017-09-06 15:12:46 +030025spec:
26 capacity:
27 storage: 2Gi
28 accessModes:
29 - ReadWriteMany
30 persistentVolumeReclaimPolicy: Retain
31 hostPath:
kerenje2e63502018-02-25 12:22:53 +000032 path: {{ .Values.dataRootDir }}/{{ .Values.nsPrefix }}/message-router/dcae-startup-vm-message-router/docker_files/data-kafka/
BorislavG66a9a5c2017-09-06 15:12:46 +030033---
34kind: PersistentVolumeClaim
35apiVersion: v1
36metadata:
37 name: message-router-kafka
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:
BorislavGabbe9d72017-09-12 18:00:28 +030047 name: "{{ .Values.nsPrefix }}-message-router-kafka"
yurynfcef9942017-10-26 17:10:50 +030048#{{ end }}
49#{{ if not .Values.disableMessageRouterZookeeper }}
BorislavG66a9a5c2017-09-06 15:12:46 +030050---
51apiVersion: v1
52kind: PersistentVolume
53metadata:
BorislavGabbe9d72017-09-12 18:00:28 +030054 name: "{{ .Values.nsPrefix }}-message-router-zookeeper"
BorislavG8bfc6cf2018-02-27 15:04:26 +000055 namespace: "{{ .Values.nsPrefix }}"
BorislavG66a9a5c2017-09-06 15:12:46 +030056 labels:
BorislavGabbe9d72017-09-12 18:00:28 +030057 name: "{{ .Values.nsPrefix }}-message-router-zookeeper"
BorislavG66a9a5c2017-09-06 15:12:46 +030058spec:
59 capacity:
60 storage: 2Gi
61 accessModes:
62 - ReadWriteMany
63 persistentVolumeReclaimPolicy: Retain
64 hostPath:
kerenje2e63502018-02-25 12:22:53 +000065 path: {{ .Values.dataRootDir }}/{{ .Values.nsPrefix }}/message-router/dcae-startup-vm-message-router/docker_files/data-zookeeper
BorislavG66a9a5c2017-09-06 15:12:46 +030066---
67kind: PersistentVolumeClaim
68apiVersion: v1
69metadata:
70 name: message-router-zookeeper
BorislavG8bfc6cf2018-02-27 15:04:26 +000071 namespace: "{{ .Values.nsPrefix }}"
BorislavG66a9a5c2017-09-06 15:12:46 +030072spec:
73 accessModes:
74 - ReadWriteMany
75 resources:
76 requests:
77 storage: 2Gi
78 selector:
79 matchLabels:
BorislavGabbe9d72017-09-12 18:00:28 +030080 name: "{{ .Values.nsPrefix }}-message-router-zookeeper"
kerenje2e63502018-02-25 12:22:53 +000081#{{ end }}