blob: d22481526c4b017d91932daff1b82324d4cbf304 [file] [log] [blame]
Alexis de Talhouëted6bd732017-11-28 14:59:30 -05001#{{ if not .Values.disableVfcVfcWorkflowEngineActiviti }}
2apiVersion: extensions/v1beta1
3kind: Deployment
4metadata:
5 name: vfc-workflowengineactiviti
BorislavG8bfc6cf2018-02-27 15:04:26 +00006 namespace: "{{ .Values.nsPrefix }}"
Alexis de Talhouëted6bd732017-11-28 14:59:30 -05007spec:
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
BorislavG8bfc6cf2018-02-27 15:04:26 +000031 value: msb-iag.{{ .Values.nsPrefix }}
Alexis de Talhouëted6bd732017-11-28 14:59:30 -050032 - 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"
BorislavG8bfc6cf2018-02-27 15:04:26 +000044#{{ end }}