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: |
vaibhav_16dec | 65bb2de | 2018-02-16 07:46:32 +0000 | [diff] [blame] | 10 | replicas: {{ .Values.uuiReplicas }} |
Dusan Rozman | 03aa27e | 2017-10-11 13:04:23 -0400 | [diff] [blame] | 11 | 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ƫt | fc97999 | 2017-11-28 15:47:31 -0500 | [diff] [blame] | 28 | env: |
| 29 | - name: MSB_ADDR |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 30 | value: {{ tpl .Values.msbaddr . }} |
Dusan Rozman | 03aa27e | 2017-10-11 13:04:23 -0400 | [diff] [blame] | 31 | 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" |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 40 | #{{ end }} |