blob: 01c87e94501800965548eaf5e521cecf6b7d8e63 [file] [log] [blame]
Alexis de Talhouëtfc979992017-11-28 15:47:31 -05001#{{ if not .Values.disableUuiUui }}
2apiVersion: extensions/v1beta1
3kind: Deployment
4metadata:
5 labels:
6 app: uui-server
7 name: uui-server
BorislavG8bfc6cf2018-02-27 15:04:26 +00008 namespace: "{{ .Values.nsPrefix }}"
Alexis de Talhouëtfc979992017-11-28 15:47:31 -05009spec:
vaibhav_16dec65bb2de2018-02-16 07:46:32 +000010 replicas: {{ .Values.uuiServerReplicas }}
Alexis de Talhouëtfc979992017-11-28 15:47:31 -050011 selector:
12 matchLabels:
13 app: uui-server
14 template:
15 metadata:
16 labels:
17 app: uui-server
18 name: uui-server
19 spec:
20 containers:
21 - image: {{ .Values.uuiserver.image }}:{{ .Values.uuiserver.version }}
22 imagePullPolicy: {{ .Values.pullPolicy }}
23 name: uui-server
24 env:
25 - name: MSB_ADDR
BorislavG8bfc6cf2018-02-27 15:04:26 +000026 value: {{tpl .Values.msbaddr .}}
Alexis de Talhouëtfc979992017-11-28 15:47:31 -050027 - name: MR_ADDR
BorislavG8bfc6cf2018-02-27 15:04:26 +000028 value: {{tpl .Values.mraddr .}}
Alexis de Talhouëtfc979992017-11-28 15:47:31 -050029 ports:
30 - containerPort: 8082
31 readinessProbe:
32 tcpSocket:
33 port: 8082
34 initialDelaySeconds: 5
35 periodSeconds: 10
36 imagePullSecrets:
37 - name: "{{ .Values.nsPrefix }}-docker-registry-key"
BorislavG8bfc6cf2018-02-27 15:04:26 +000038#{{ end }}