helm: Convert the anonymous and superuser token to values in values.yaml
[arvados-k8s.git] / arvados / templates / keep-proxy-deployment.yaml
index dad4fac70666892eecf6f9aa0adf26574dc46107..b9906b0c48f4f72f2427d9c4feef3cfe91e5758f 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 keepproxy=1.1.3.20180404192345* && keepproxy"
+            - "/usr/local/bin/bootstrap.sh keepproxy={{ .Values.arvados.versions.distribution.keepProxy }} && keepproxy"
           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 }}"