blob: 85f671e99892062a806d62deb3933ad5c6d8546d [file] [log] [blame]
yurynfcef9942017-10-26 17:10:50 +03001#{{ if not .Values.disableDcaeDcaeCollectorDmaapbc }}
Mike Elliott586f03b2017-09-08 12:46:15 -04002apiVersion: extensions/v1beta1
3kind: Deployment
4metadata:
5 name: dcae-collector-dmaapbc
BorislavG8bfc6cf2018-02-27 15:04:26 +00006 namespace: "{{ .Values.nsPrefix }}"
Mike Elliott586f03b2017-09-08 12:46:15 -04007spec:
8 selector:
9 matchLabels:
10 app: dcae-collector-dmaapbc
11 template:
12 metadata:
13 labels:
14 app: dcae-collector-dmaapbc
15 name: dcae-collector-dmaapbc
16 spec:
17 containers:
18 - image: {{ .Values.image.dmaapbc }}
19 imagePullPolicy: {{ .Values.pullPolicy }}
20 name: dcae-collector-dmaapbc
21 ports:
22 - containerPort: 18080
23 - containerPort: 18443
24 env:
25# - name: KAFKA_ZOOKEEPER_CONNECT
26# value: "zookeeper:2181"
27# command:
28# - start-kafka.sh
29 volumeMounts:
30 - mountPath: /opt/app/config
31 name: dcae-collector-dmaapbc-config
32 restartPolicy: Always
33 volumes:
34 - name: dcae-collector-dmaapbc-config
35 hostPath:
36 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/dcae/dmaapbc/config
37 imagePullSecrets:
38 - name: "{{ .Values.nsPrefix }}-docker-registry-key"
BorislavG8bfc6cf2018-02-27 15:04:26 +000039#{{ end }}