Alexis de Talhouƫt | ed6bd73 | 2017-11-28 14:59:30 -0500 | [diff] [blame^] | 1 | #{{ if not .Values.disableVfcVfcWorkflowEngineActiviti }} |
| 2 | apiVersion: extensions/v1beta1 |
| 3 | kind: Deployment |
| 4 | metadata: |
| 5 | name: vfc-workflowengineactiviti |
| 6 | namespace: "{{ .Values.nsPrefix }}-{{ .Chart.Name }}" |
| 7 | spec: |
| 8 | replicas: {{ .Values.workflowengineactiviti.replicas }} |
| 9 | selector: |
| 10 | matchLabels: |
| 11 | app: vfc-workflowengineactiviti |
| 12 | template: |
| 13 | metadata: |
| 14 | labels: |
| 15 | app: vfc-workflowengineactiviti |
| 16 | name: vfc-workflowengineactiviti |
| 17 | spec: |
| 18 | hostname: vfc-workflowengineactiviti |
| 19 | containers: |
| 20 | - args: |
| 21 | image: {{.Values.workflowengineactiviti.image}} |
| 22 | name: "vfc-workflowengineactiviti" |
| 23 | env: |
| 24 | - name: SERVICE_IP |
| 25 | valueFrom: |
| 26 | fieldRef: |
| 27 | fieldPath: status.podIP |
| 28 | - name: SERVICE_PORT |
| 29 | value: "{{ .Values.workflow.port }}" |
| 30 | - name: OPENPALETTE_MSB_IP |
| 31 | value: msb-iag.{{ .Values.nsPrefix }}-msb |
| 32 | - name: OPENPALETTE_MSB_PORT |
| 33 | value: "80" |
| 34 | ports: |
| 35 | - containerPort: {{ .Values.workflowengineactiviti.port }} |
| 36 | readinessProbe: |
| 37 | tcpSocket: |
| 38 | port: {{ .Values.workflowengineactiviti.port }} |
| 39 | initialDelaySeconds: 5 |
| 40 | periodSeconds: 10 |
| 41 | imagePullPolicy: "{{ .Values.pullPolicy }}" |
| 42 | imagePullSecrets: |
| 43 | - name: "{{ .Values.nsPrefix }}-docker-registry-key" |
| 44 | #{{ end }} |