yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 1 | #{{ if not .Values.disableDcaeDcaeCollectorDmaapbc }} |
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-dmaapbc |
| 6 | namespace: "{{ .Values.nsPrefix }}-dcae" |
| 7 | spec: |
| 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" |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 39 | #{{ end }} |