yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 1 | #{{ if not .Values.disableMessageRouterGlobalKafka }} |
BorislavG | 66a9a5c | 2017-09-06 15:12:46 +0300 | [diff] [blame] | 2 | apiVersion: v1 |
| 3 | kind: PersistentVolume |
| 4 | metadata: |
BorislavG | abbe9d7 | 2017-09-12 18:00:28 +0300 | [diff] [blame] | 5 | name: "{{ .Values.nsPrefix }}-message-router-kafka" |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame^] | 6 | namespace: "{{ .Values.nsPrefix }}" |
BorislavG | 66a9a5c | 2017-09-06 15:12:46 +0300 | [diff] [blame] | 7 | labels: |
BorislavG | abbe9d7 | 2017-09-12 18:00:28 +0300 | [diff] [blame] | 8 | name: "{{ .Values.nsPrefix }}-message-router-kafka" |
BorislavG | 66a9a5c | 2017-09-06 15:12:46 +0300 | [diff] [blame] | 9 | spec: |
| 10 | capacity: |
| 11 | storage: 2Gi |
| 12 | accessModes: |
| 13 | - ReadWriteMany |
| 14 | persistentVolumeReclaimPolicy: Retain |
| 15 | hostPath: |
kerenj | e2e6350 | 2018-02-25 12:22:53 +0000 | [diff] [blame] | 16 | path: {{ .Values.dataRootDir }}/{{ .Values.nsPrefix }}/message-router/dcae-startup-vm-message-router/docker_files/data-kafka/ |
BorislavG | 66a9a5c | 2017-09-06 15:12:46 +0300 | [diff] [blame] | 17 | --- |
| 18 | kind: PersistentVolumeClaim |
| 19 | apiVersion: v1 |
| 20 | metadata: |
| 21 | name: message-router-kafka |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame^] | 22 | namespace: "{{ .Values.nsPrefix }}" |
BorislavG | 66a9a5c | 2017-09-06 15:12:46 +0300 | [diff] [blame] | 23 | spec: |
| 24 | accessModes: |
| 25 | - ReadWriteMany |
| 26 | resources: |
| 27 | requests: |
| 28 | storage: 2Gi |
| 29 | selector: |
| 30 | matchLabels: |
BorislavG | abbe9d7 | 2017-09-12 18:00:28 +0300 | [diff] [blame] | 31 | name: "{{ .Values.nsPrefix }}-message-router-kafka" |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 32 | #{{ end }} |
| 33 | #{{ if not .Values.disableMessageRouterZookeeper }} |
BorislavG | 66a9a5c | 2017-09-06 15:12:46 +0300 | [diff] [blame] | 34 | --- |
| 35 | apiVersion: v1 |
| 36 | kind: PersistentVolume |
| 37 | metadata: |
BorislavG | abbe9d7 | 2017-09-12 18:00:28 +0300 | [diff] [blame] | 38 | name: "{{ .Values.nsPrefix }}-message-router-zookeeper" |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame^] | 39 | namespace: "{{ .Values.nsPrefix }}" |
BorislavG | 66a9a5c | 2017-09-06 15:12:46 +0300 | [diff] [blame] | 40 | labels: |
BorislavG | abbe9d7 | 2017-09-12 18:00:28 +0300 | [diff] [blame] | 41 | name: "{{ .Values.nsPrefix }}-message-router-zookeeper" |
BorislavG | 66a9a5c | 2017-09-06 15:12:46 +0300 | [diff] [blame] | 42 | spec: |
| 43 | capacity: |
| 44 | storage: 2Gi |
| 45 | accessModes: |
| 46 | - ReadWriteMany |
| 47 | persistentVolumeReclaimPolicy: Retain |
| 48 | hostPath: |
kerenj | e2e6350 | 2018-02-25 12:22:53 +0000 | [diff] [blame] | 49 | path: {{ .Values.dataRootDir }}/{{ .Values.nsPrefix }}/message-router/dcae-startup-vm-message-router/docker_files/data-zookeeper |
BorislavG | 66a9a5c | 2017-09-06 15:12:46 +0300 | [diff] [blame] | 50 | --- |
| 51 | kind: PersistentVolumeClaim |
| 52 | apiVersion: v1 |
| 53 | metadata: |
| 54 | name: message-router-zookeeper |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame^] | 55 | namespace: "{{ .Values.nsPrefix }}" |
BorislavG | 66a9a5c | 2017-09-06 15:12:46 +0300 | [diff] [blame] | 56 | spec: |
| 57 | accessModes: |
| 58 | - ReadWriteMany |
| 59 | resources: |
| 60 | requests: |
| 61 | storage: 2Gi |
| 62 | selector: |
| 63 | matchLabels: |
BorislavG | abbe9d7 | 2017-09-12 18:00:28 +0300 | [diff] [blame] | 64 | name: "{{ .Values.nsPrefix }}-message-router-zookeeper" |
kerenj | e2e6350 | 2018-02-25 12:22:53 +0000 | [diff] [blame] | 65 | #{{ end }} |