From fc9799960da7e425aec9f6ac9ffba5ef78eb84e1 Mon Sep 17 00:00:00 2001 From: Alexis de Talhouët Date: Tue, 28 Nov 2017 15:47:31 -0500 Subject: Adjust UUI to latest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: add uui-server fix uui health check add MSB registration endpoint to uui Change-Id: I0f1b10a67e980fd134f28c559ab1396b2e9febb3 Issue-ID: OOM-474 Signed-off-by: Alexis de Talhouët --- .../uui/templates/uui-server-deployment.yaml | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 kubernetes/uui/templates/uui-server-deployment.yaml (limited to 'kubernetes/uui/templates/uui-server-deployment.yaml') diff --git a/kubernetes/uui/templates/uui-server-deployment.yaml b/kubernetes/uui/templates/uui-server-deployment.yaml new file mode 100644 index 0000000000..2462a69be1 --- /dev/null +++ b/kubernetes/uui/templates/uui-server-deployment.yaml @@ -0,0 +1,37 @@ +#{{ if not .Values.disableUuiUui }} +apiVersion: extensions/v1beta1 +kind: Deployment +metadata: + labels: + app: uui-server + name: uui-server + namespace: "{{ .Values.nsPrefix }}-uui" +spec: + selector: + matchLabels: + app: uui-server + template: + metadata: + labels: + app: uui-server + name: uui-server + spec: + containers: + - image: {{ .Values.uuiserver.image }}:{{ .Values.uuiserver.version }} + imagePullPolicy: {{ .Values.pullPolicy }} + name: uui-server + env: + - name: MSB_ADDR + value: {{ .Values.msbaddr }} + - name: MR_ADDR + value: {{ .Values.mraddr }} + ports: + - containerPort: 8082 + readinessProbe: + tcpSocket: + port: 8082 + initialDelaySeconds: 5 + periodSeconds: 10 + imagePullSecrets: + - name: "{{ .Values.nsPrefix }}-docker-registry-key" +#{{ end }} \ No newline at end of file -- cgit 1.2.3-korg