blob: 53329ca29b7935166e82652b7ae696c6dd39f695 [file] [log] [blame]
yurynfcef9942017-10-26 17:10:50 +03001#{{ if not .Values.disableMessageRouterGlobalKafka }}
BorislavG66a9a5c2017-09-06 15:12:46 +03002apiVersion: v1
3kind: PersistentVolume
4metadata:
BorislavGabbe9d72017-09-12 18:00:28 +03005 name: "{{ .Values.nsPrefix }}-message-router-kafka"
BorislavG66a9a5c2017-09-06 15:12:46 +03006 namespace: "{{ .Values.nsPrefix }}-message-router"
7 labels:
BorislavGabbe9d72017-09-12 18:00:28 +03008 name: "{{ .Values.nsPrefix }}-message-router-kafka"
BorislavG66a9a5c2017-09-06 15:12:46 +03009spec:
10 capacity:
11 storage: 2Gi
12 accessModes:
13 - ReadWriteMany
14 persistentVolumeReclaimPolicy: Retain
15 hostPath:
16 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/message-router/dcae-startup-vm-message-router/docker_files/data-kafka/
17---
18kind: PersistentVolumeClaim
19apiVersion: v1
20metadata:
21 name: message-router-kafka
22 namespace: "{{ .Values.nsPrefix }}-message-router"
23spec:
24 accessModes:
25 - ReadWriteMany
26 resources:
27 requests:
28 storage: 2Gi
29 selector:
30 matchLabels:
BorislavGabbe9d72017-09-12 18:00:28 +030031 name: "{{ .Values.nsPrefix }}-message-router-kafka"
yurynfcef9942017-10-26 17:10:50 +030032#{{ end }}
33#{{ if not .Values.disableMessageRouterZookeeper }}
BorislavG66a9a5c2017-09-06 15:12:46 +030034---
35apiVersion: v1
36kind: PersistentVolume
37metadata:
BorislavGabbe9d72017-09-12 18:00:28 +030038 name: "{{ .Values.nsPrefix }}-message-router-zookeeper"
BorislavG66a9a5c2017-09-06 15:12:46 +030039 namespace: "{{ .Values.nsPrefix }}-message-router"
40 labels:
BorislavGabbe9d72017-09-12 18:00:28 +030041 name: "{{ .Values.nsPrefix }}-message-router-zookeeper"
BorislavG66a9a5c2017-09-06 15:12:46 +030042spec:
43 capacity:
44 storage: 2Gi
45 accessModes:
46 - ReadWriteMany
47 persistentVolumeReclaimPolicy: Retain
48 hostPath:
49 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/message-router/dcae-startup-vm-message-router/docker_files/data-zookeeper
50---
51kind: PersistentVolumeClaim
52apiVersion: v1
53metadata:
54 name: message-router-zookeeper
55 namespace: "{{ .Values.nsPrefix }}-message-router"
56spec:
57 accessModes:
58 - ReadWriteMany
59 resources:
60 requests:
61 storage: 2Gi
62 selector:
63 matchLabels:
BorislavGabbe9d72017-09-12 18:00:28 +030064 name: "{{ .Values.nsPrefix }}-message-router-zookeeper"
yurynfcef9942017-10-26 17:10:50 +030065#{{ end }}