blob: e3c58a87e64bf905ceab8e5fe6e0488a0e7940e2 [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:
10 selector:
11 matchLabels:
12 app: uui-server
13 template:
14 metadata:
15 labels:
16 app: uui-server
17 name: uui-server
18 spec:
19 containers:
20 - image: {{ .Values.uuiserver.image }}:{{ .Values.uuiserver.version }}
21 imagePullPolicy: {{ .Values.pullPolicy }}
22 name: uui-server
23 env:
24 - name: MSB_ADDR
BorislavG8bfc6cf2018-02-27 15:04:26 +000025 value: {{tpl .Values.msbaddr .}}
Alexis de Talhouëtfc979992017-11-28 15:47:31 -050026 - name: MR_ADDR
BorislavG8bfc6cf2018-02-27 15:04:26 +000027 value: {{tpl .Values.mraddr .}}
Alexis de Talhouëtfc979992017-11-28 15:47:31 -050028 ports:
29 - containerPort: 8082
30 readinessProbe:
31 tcpSocket:
32 port: 8082
33 initialDelaySeconds: 5
34 periodSeconds: 10
35 imagePullSecrets:
36 - name: "{{ .Values.nsPrefix }}-docker-registry-key"
BorislavG8bfc6cf2018-02-27 15:04:26 +000037#{{ end }}