+#{{ if not .Values.disableVfcVfcWorkflow }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
image: {{.Values.workflow.image}}
name: "vfc-workflow"
env:
- - name: MSB_ADDR
- value: {{ .Values.msbaddr }}
+ - name: SERVICE_IP
+ valueFrom:
+ fieldRef:
+ fieldPath: status.podIP
+ - name: SERVICE_PORT
+ value: "{{ .Values.workflow.port }}"
+ - name: OPENPALETTE_MSB_IP
+ value: msb-iag.{{ .Values.nsPrefix }}-msb
+ - name: OPENPALETTE_MSB_PORT
+ value: "80"
ports:
- containerPort: {{ .Values.workflow.port }}
readinessProbe:
periodSeconds: 10
imagePullPolicy: "{{ .Values.pullPolicy }}"
imagePullSecrets:
- - name: "{{ .Values.nsPrefix }}-docker-registry-key"
\ No newline at end of file
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file