Bump everything up to the latest stable release (1.3.1), and use Ubuntu 18.04
[arvados-k8s.git] / charts / arvados / templates / workbench-deployment.yaml
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: Apache-2.0
4
5 apiVersion: apps/v1
6 kind: Deployment
7 metadata:
8   name: "arvados-workbench"
9   labels:
10     app: arvados-workbench
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-workbench
19       release: {{ .Release.Name }}
20   template:
21     metadata:
22       labels:
23         app: arvados-workbench
24         release: {{ .Release.Name }}
25     spec:
26       containers:
27         - name: arvados-workbench
28           image: "cure/arvados-rails-runtime"
29           imagePullPolicy: {{ .Values.image.pullPolicy }}
30           command:
31             - "sh"
32             - "-c"
33             - "/usr/local/bin/bootstrap.sh arvados-workbench={{ .Values.arvados.versions.distribution.arvadosWorkbench }} && exec /sbin/my_init"
34           env:
35             - name: RAILS_ENV
36               value: "production"
37           volumeMounts:
38             - name: workbench-configmap
39               mountPath: /etc/arvados/workbench/application.yml
40               subPath: application.yml
41             - name: workbench-configmap
42               mountPath: /etc/nginx/sites-enabled/workbench.conf
43               subPath: nginx.conf
44             - name: ssl-configmap
45               mountPath: /etc/ssl/certs/workbench.pem
46               subPath: cert
47             - name: ssl-configmap
48               mountPath: /etc/ssl/private/workbench.key
49               subPath: key
50       volumes:
51         - name: workbench-configmap
52           configMap:
53             name: arvados-workbench-configmap
54         - name: ssl-configmap
55           configMap:
56             name: ssl-configmap