Alexis de Talhouët | fc97999 | 2017-11-28 15:47:31 -0500 | [diff] [blame] | 1 | #{{ if not .Values.disableUuiUui }} |
| 2 | apiVersion: extensions/v1beta1 |
| 3 | kind: Deployment |
| 4 | metadata: |
| 5 | labels: |
| 6 | app: uui-server |
| 7 | name: uui-server |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 8 | namespace: "{{ .Values.nsPrefix }}" |
Alexis de Talhouët | fc97999 | 2017-11-28 15:47:31 -0500 | [diff] [blame] | 9 | spec: |
vaibhav_16dec | 65bb2de | 2018-02-16 07:46:32 +0000 | [diff] [blame] | 10 | replicas: {{ .Values.uuiServerReplicas }} |
Alexis de Talhouët | fc97999 | 2017-11-28 15:47:31 -0500 | [diff] [blame] | 11 | selector: |
| 12 | matchLabels: |
| 13 | app: uui-server |
| 14 | template: |
| 15 | metadata: |
| 16 | labels: |
| 17 | app: uui-server |
| 18 | name: uui-server |
| 19 | spec: |
| 20 | containers: |
| 21 | - image: {{ .Values.uuiserver.image }}:{{ .Values.uuiserver.version }} |
| 22 | imagePullPolicy: {{ .Values.pullPolicy }} |
| 23 | name: uui-server |
| 24 | env: |
| 25 | - name: MSB_ADDR |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 26 | value: {{tpl .Values.msbaddr .}} |
Alexis de Talhouët | fc97999 | 2017-11-28 15:47:31 -0500 | [diff] [blame] | 27 | - name: MR_ADDR |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 28 | value: {{tpl .Values.mraddr .}} |
Alexis de Talhouët | fc97999 | 2017-11-28 15:47:31 -0500 | [diff] [blame] | 29 | ports: |
| 30 | - containerPort: 8082 |
| 31 | readinessProbe: |
| 32 | tcpSocket: |
| 33 | port: 8082 |
| 34 | initialDelaySeconds: 5 |
| 35 | periodSeconds: 10 |
| 36 | imagePullSecrets: |
| 37 | - name: "{{ .Values.nsPrefix }}-docker-registry-key" |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 38 | #{{ end }} |