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: |
| 10 | selector: |
| 11 | matchLabels: |
| 12 | app: uui-server |
| 13 | template: |
| 14 | metadata: |
| 15 | labels: |
| 16 | app: uui-server |
| 17 | name: uui-server |
| 18 | spec: |
| 19 | containers: |
| 20 | - image: {{ .Values.uuiserver.image }}:{{ .Values.uuiserver.version }} |
| 21 | imagePullPolicy: {{ .Values.pullPolicy }} |
| 22 | name: uui-server |
| 23 | env: |
| 24 | - name: MSB_ADDR |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 25 | value: {{tpl .Values.msbaddr .}} |
Alexis de Talhouët | fc97999 | 2017-11-28 15:47:31 -0500 | [diff] [blame] | 26 | - name: MR_ADDR |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 27 | value: {{tpl .Values.mraddr .}} |
Alexis de Talhouët | fc97999 | 2017-11-28 15:47:31 -0500 | [diff] [blame] | 28 | ports: |
| 29 | - containerPort: 8082 |
| 30 | readinessProbe: |
| 31 | tcpSocket: |
| 32 | port: 8082 |
| 33 | initialDelaySeconds: 5 |
| 34 | periodSeconds: 10 |
| 35 | imagePullSecrets: |
| 36 | - name: "{{ .Values.nsPrefix }}-docker-registry-key" |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 37 | #{{ end }} |