helm: Add a Helm chart for installing Arvados
[arvados-k8s.git] / arvados / templates / keep-web-deployment.yaml
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: Apache-2.0
4
5 apiVersion: apps/v1beta2
6 kind: Deployment
7 metadata:
8   name: "arvados-keep-web"
9   labels:
10     app: arvados-keep-web
11     chart: {{ template "arvados.chart" . }}
12     release: {{ .Release.Name }}
13     heritage: {{ .Release.Service }}
14 spec:
15   replicas: 1
16   selector:
17     matchLabels:
18       app: arvados-keep-web
19       release: {{ .Release.Name }}
20   template:
21     metadata:
22       labels:
23         app: arvados-keep-web
24         release: {{ .Release.Name }}
25     spec:
26       replicas: 1
27       containers:
28         - name: arvados-keep-web
29           image: "cure/arvados-runtime"
30           imagePullPolicy: {{ .Values.image.pullPolicy }}
31           command:
32             - "sh"
33             - "-c"
34             # TODO: the apt-get update should be run in the Dockerfile
35             - "apt-get update && /usr/local/bin/bootstrap.sh keep-web=1.1.3.20180404192345* && keep-web -listen=:9002 -trust-all-content"
36           env:
37             - name : ARVADOS_API_HOST
38               value: "8.8.8.8:444"
39             - name : ARVADOS_API_HOST_INSECURE
40               value: "true"
41             - name : ARVADOS_API_TOKEN
42               value: "thisisnotaverygoodanonymoussecretstring00000000000"