blob: 1518913f31d420c6f4a3ed3dd1127968aeebc4d4 [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"
BorislavG8bfc6cf2018-02-27 15:04:26 +00006 namespace: "{{ .Values.nsPrefix }}"
BorislavG66a9a5c2017-09-06 15:12:46 +03007 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:
kerenje2e63502018-02-25 12:22:53 +000016 path: {{ .Values.dataRootDir }}/{{ .Values.nsPrefix }}/message-router/dcae-startup-vm-message-router/docker_files/data-kafka/
BorislavG66a9a5c2017-09-06 15:12:46 +030017---
18kind: PersistentVolumeClaim
19apiVersion: v1
20metadata:
21 name: message-router-kafka
BorislavG8bfc6cf2018-02-27 15:04:26 +000022 namespace: "{{ .Values.nsPrefix }}"
BorislavG66a9a5c2017-09-06 15:12:46 +030023spec:
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"
BorislavG8bfc6cf2018-02-27 15:04:26 +000039 namespace: "{{ .Values.nsPrefix }}"
BorislavG66a9a5c2017-09-06 15:12:46 +030040 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:
kerenje2e63502018-02-25 12:22:53 +000049 path: {{ .Values.dataRootDir }}/{{ .Values.nsPrefix }}/message-router/dcae-startup-vm-message-router/docker_files/data-zookeeper
BorislavG66a9a5c2017-09-06 15:12:46 +030050---
51kind: PersistentVolumeClaim
52apiVersion: v1
53metadata:
54 name: message-router-zookeeper
BorislavG8bfc6cf2018-02-27 15:04:26 +000055 namespace: "{{ .Values.nsPrefix }}"
BorislavG66a9a5c2017-09-06 15:12:46 +030056spec:
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"
kerenje2e63502018-02-25 12:22:53 +000065#{{ end }}