helm: Make the package versions part of the values.yaml file.
[arvados-k8s.git] / arvados / templates / shell-server-deployment.yaml
index b4df56d5f68ab1e16e2467bc9a13f02b1643e981..455d2ffd1c421347610a4685e390913b769d07b5 100644 (file)
@@ -30,13 +30,12 @@ spec:
           command:
             - "sh"
             - "-c"
-            # TODO: the apt-get update should be run in the Dockerfile
-            - "apt-get update && /usr/local/bin/bootstrap.sh python-arvados-python-client=1.1.3.20180404223512* gem:arvados-cli=1.1.4.20180412190507 gem:arvados-login-sync=1.1.4.20180412190507 crunchrunner=1.1.3.20180403215323* python-arvados-fuse=1.1.3.20180404223512* && install /init-scripts-staging/* /etc/my_init.d && /sbin/my_init"
+            - "/usr/local/bin/bootstrap.sh python-arvados-python-client={{ .Values.arvados.versions.distribution.pythonArvadosPythonClient }} gem:arvados-cli={{ .Values.arvados.versions.gem.arvadosCLI }} gem:arvados-login-sync={{ .Values.arvados.versions.gem.arvadosLoginSync }} crunchrunner={{ .Values.arvados.versions.distribution.crunchRunner }} python-arvados-fuse={{ .Values.arvados.versions.distribution.pythonArvadosFuse }} && install /init-scripts-staging/* /etc/my_init.d && /sbin/my_init"
           env:
             - name: RAILS_ENV
               value: "production"
             - name: ARVADOS_API_HOST
-              value: "8.8.8.8:444"
+              value: "{{ .Values.externalIP }}:444"
             - name : ARVADOS_API_HOST_INSECURE
               value: "true"
             - name : ARVADOS_API_TOKEN