Dusan Rozman | 03aa27e | 2017-10-11 13:04:23 -0400 | [diff] [blame] | 1 | apiVersion: extensions/v1beta1 |
| 2 | kind: Deployment |
| 3 | metadata: |
| 4 | labels: |
| 5 | app: uui |
| 6 | name: uui |
| 7 | namespace: "{{ .Values.nsPrefix }}-uui" |
| 8 | spec: |
| 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" |