helm: Convert the anonymous and superuser token to values in values.yaml
[arvados-k8s.git] / arvados / templates / keep-web-deployment.yaml
index 6758cae47d54dacba733b119c956f877f9e6b96b..0cc384234fa3d905bc4cf9aa19505ec12ab5bf21 100644 (file)
@@ -31,12 +31,11 @@ spec:
           command:
             - "sh"
             - "-c"
-            # TODO: the apt-get update should be run in the Dockerfile
-            - "apt-get update && /usr/local/bin/bootstrap.sh keep-web=1.1.3.20180404192345* && keep-web -listen=:9002 -trust-all-content"
+            - "/usr/local/bin/bootstrap.sh keep-web={{ .Values.arvados.versions.distribution.keepWeb }} && keep-web -listen=:9002 -trust-all-content"
           env:
             - 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
-              value: "thisisnotaverygoodanonymoussecretstring00000000000"
+              value: "{{ .Values.anonymousUserSecret }}"