blob: e23202a907f57fadd6e2d42f893f465ea402f40c [file] [log] [blame]
Dusan Rozman03aa27e2017-10-11 13:04:23 -04001apiVersion: extensions/v1beta1
2kind: Deployment
3metadata:
4 labels:
5 app: uui
6 name: uui
7 namespace: "{{ .Values.nsPrefix }}-uui"
8spec:
9 selector:
10 matchLabels:
11 app: uui
12 template:
13 metadata:
14 labels:
15 app: uui
16 name: uui
17 spec:
18 containers:
19 - image: {{ .Values.image.uuiImage }}:{{ .Values.image.uuiVersion }}
20 imagePullPolicy: {{ .Values.pullPolicy }}
21 command:
22 - /bin/bash
23 - -c
24 - /home/uui/tomcat/bin/catalina.sh run
25 name: uui
26 ports:
27 - containerPort: 8080
28 readinessProbe:
29 tcpSocket:
30 port: 8080
31 initialDelaySeconds: 5
32 periodSeconds: 10
33 imagePullSecrets:
34 - name: "{{ .Values.nsPrefix }}-docker-registry-key"