blob: 668574918be794d132b815042f24d14de16b8ced [file] [log] [blame]
yurynfcef9942017-10-26 17:10:50 +03001#{{ if not .Values.disableUuiUui }}
Dusan Rozman03aa27e2017-10-11 13:04:23 -04002apiVersion: extensions/v1beta1
3kind: Deployment
4metadata:
5 labels:
6 app: uui
7 name: uui
BorislavG8bfc6cf2018-02-27 15:04:26 +00008 namespace: "{{ .Values.nsPrefix }}"
Dusan Rozman03aa27e2017-10-11 13:04:23 -04009spec:
vaibhav_16dec65bb2de2018-02-16 07:46:32 +000010 replicas: {{ .Values.uuiReplicas }}
Dusan Rozman03aa27e2017-10-11 13:04:23 -040011 selector:
12 matchLabels:
13 app: uui
14 template:
15 metadata:
16 labels:
17 app: uui
18 name: uui
19 spec:
20 containers:
21 - image: {{ .Values.image.uuiImage }}:{{ .Values.image.uuiVersion }}
22 imagePullPolicy: {{ .Values.pullPolicy }}
23 command:
24 - /bin/bash
25 - -c
26 - /home/uui/tomcat/bin/catalina.sh run
27 name: uui
Alexis de Talhouƫtfc979992017-11-28 15:47:31 -050028 env:
29 - name: MSB_ADDR
BorislavG8bfc6cf2018-02-27 15:04:26 +000030 value: {{ tpl .Values.msbaddr . }}
Dusan Rozman03aa27e2017-10-11 13:04:23 -040031 ports:
32 - containerPort: 8080
33 readinessProbe:
34 tcpSocket:
35 port: 8080
36 initialDelaySeconds: 5
37 periodSeconds: 10
38 imagePullSecrets:
39 - name: "{{ .Values.nsPrefix }}-docker-registry-key"
BorislavG8bfc6cf2018-02-27 15:04:26 +000040#{{ end }}