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