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