yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 1 | #{{ if not .Values.disableUuiUui }} |
Dusan Rozman | 03aa27e | 2017-10-11 13:04:23 -0400 | [diff] [blame] | 2 | apiVersion: extensions/v1beta1 |
| 3 | kind: Deployment |
| 4 | metadata: |
| 5 | labels: |
| 6 | app: uui |
| 7 | name: uui |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 8 | namespace: "{{ .Values.nsPrefix }}" |
Dusan Rozman | 03aa27e | 2017-10-11 13:04:23 -0400 | [diff] [blame] | 9 | spec: |
| 10 | selector: |
| 11 | matchLabels: |
| 12 | app: uui |
| 13 | template: |
| 14 | metadata: |
| 15 | labels: |
| 16 | app: uui |
| 17 | name: uui |
| 18 | spec: |
| 19 | containers: |
| 20 | - image: {{ .Values.image.uuiImage }}:{{ .Values.image.uuiVersion }} |
| 21 | imagePullPolicy: {{ .Values.pullPolicy }} |
| 22 | command: |
| 23 | - /bin/bash |
| 24 | - -c |
| 25 | - /home/uui/tomcat/bin/catalina.sh run |
| 26 | name: uui |
Alexis de Talhouƫt | fc97999 | 2017-11-28 15:47:31 -0500 | [diff] [blame] | 27 | env: |
| 28 | - name: MSB_ADDR |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 29 | value: {{ tpl .Values.msbaddr . }} |
Dusan Rozman | 03aa27e | 2017-10-11 13:04:23 -0400 | [diff] [blame] | 30 | ports: |
| 31 | - containerPort: 8080 |
| 32 | readinessProbe: |
| 33 | tcpSocket: |
| 34 | port: 8080 |
| 35 | initialDelaySeconds: 5 |
| 36 | periodSeconds: 10 |
| 37 | imagePullSecrets: |
| 38 | - name: "{{ .Values.nsPrefix }}-docker-registry-key" |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 39 | #{{ end }} |