yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 1 | #{{ if not .Values.disableDcaeZookeeper }} |
Mike Elliott | 586f03b | 2017-09-08 12:46:15 -0400 | [diff] [blame] | 2 | apiVersion: extensions/v1beta1 |
| 3 | kind: Deployment |
| 4 | metadata: |
| 5 | name: zookeeper |
| 6 | namespace: "{{ .Values.nsPrefix }}-dcae" |
| 7 | spec: |
| 8 | selector: |
| 9 | matchLabels: |
| 10 | app: zookeeper |
| 11 | template: |
| 12 | metadata: |
| 13 | labels: |
| 14 | app: zookeeper |
| 15 | name: zookeeper |
| 16 | spec: |
| 17 | containers: |
| 18 | - image: {{ .Values.image.zookeeper }} |
| 19 | imagePullPolicy: {{ .Values.pullPolicy }} |
| 20 | name: zookeeper |
| 21 | ports: |
| 22 | - containerPort: 2181 |
| 23 | volumeMounts: |
| 24 | - mountPath: /opt/zookeeper-3.4.9/data |
| 25 | name: zookeeper-data |
| 26 | restartPolicy: Always |
| 27 | volumes: |
| 28 | - name: zookeeper-data |
| 29 | hostPath: |
| 30 | path: /dockerdata-nfs/{{ .Values.nsPrefix }}/dcae/message-router/dcae-startup-vm-message-router/docker_files/data-zookeeper |
| 31 | imagePullSecrets: |
| 32 | - name: "{{ .Values.nsPrefix }}-docker-registry-key" |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 33 | #{{ end }} |