yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 1 | #{{ if not .Values.disableDcaeDcaeCollectorCommonEvent }} |
Mike Elliott | 586f03b | 2017-09-08 12:46:15 -0400 | [diff] [blame] | 2 | apiVersion: extensions/v1beta1 |
| 3 | kind: Deployment |
| 4 | metadata: |
| 5 | name: dcae-collector-common-event |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame^] | 6 | namespace: "{{ .Values.nsPrefix }}" |
Mike Elliott | 586f03b | 2017-09-08 12:46:15 -0400 | [diff] [blame] | 7 | spec: |
| 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" |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame^] | 40 | #{{ end }} |