blob: 189a03952d36cece125fd6c7ef64fe2985d33482 [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
6 namespace: "{{ .Values.nsPrefix }}-dcae"
7spec:
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"
yurynfcef9942017-10-26 17:10:50 +030033#{{ end }}