blob: 9c2d8c7eba747bb4a0a5f53510e5539e21dbdb47 [file] [log] [blame]
yurynfcef9942017-10-26 17:10:50 +03001#{{ if not .Values.disableDcaeZookeeper }}
Mike Elliott586f03b2017-09-08 12:46:15 -04002apiVersion: extensions/v1beta1
3kind: Deployment
4metadata:
5 name: zookeeper
BorislavG8bfc6cf2018-02-27 15:04:26 +00006 namespace: "{{ .Values.nsPrefix }}"
Mike Elliott586f03b2017-09-08 12:46:15 -04007spec:
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"
BorislavG8bfc6cf2018-02-27 15:04:26 +000033#{{ end }}