summaryrefslogtreecommitdiffstats
path: root/kubernetes/uui/templates/uui-server-deployment.yaml
diff options
context:
space:
mode:
authorAlexis de Talhouët <adetalhouet89@gmail.com>2017-11-28 15:47:31 -0500
committerAlexis de Talhouët <alexis.de_talhouet@bell.ca>2017-11-28 20:51:05 +0000
commitac1b3e650fbbb05f16df8b6f1b840870e9963e08 (patch)
treeb15986d774b377c71792b91e7758e1294c5971c4 /kubernetes/uui/templates/uui-server-deployment.yaml
parent0ee9082b52a9f4be770decb0a15b64a1afe47633 (diff)
Adjust UUI to latest (Amsterdam)
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 <adetalhouet89@gmail.com>
Diffstat (limited to 'kubernetes/uui/templates/uui-server-deployment.yaml')
-rw-r--r--kubernetes/uui/templates/uui-server-deployment.yaml37
1 files changed, 37 insertions, 0 deletions
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