blob: 2462a69be1a51fe016a94da73a8c86063d0cb5c0 [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
8 namespace: "{{ .Values.nsPrefix }}-uui"
9spec:
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
25 value: {{ .Values.msbaddr }}
26 - name: MR_ADDR
27 value: {{ .Values.mraddr }}
28 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"
37#{{ end }}