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 | 66a9a5c | 2017-09-06 15:12:46 +0300 | [diff] [blame] | 6 | namespace: "{{ .Values.nsPrefix }}-message-router" |
| 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: |
| 16 | path: /dockerdata-nfs/{{ .Values.nsPrefix }}/message-router/dcae-startup-vm-message-router/docker_files/data-kafka/ |
| 17 | --- |
| 18 | kind: PersistentVolumeClaim |
| 19 | apiVersion: v1 |
| 20 | metadata: |
| 21 | name: message-router-kafka |
| 22 | namespace: "{{ .Values.nsPrefix }}-message-router" |
| 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 | 66a9a5c | 2017-09-06 15:12:46 +0300 | [diff] [blame] | 39 | namespace: "{{ .Values.nsPrefix }}-message-router" |
| 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: |
| 49 | path: /dockerdata-nfs/{{ .Values.nsPrefix }}/message-router/dcae-startup-vm-message-router/docker_files/data-zookeeper |
| 50 | --- |
| 51 | kind: PersistentVolumeClaim |
| 52 | apiVersion: v1 |
| 53 | metadata: |
| 54 | name: message-router-zookeeper |
| 55 | namespace: "{{ .Values.nsPrefix }}-message-router" |
| 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" |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame^] | 65 | #{{ end }} |