X-Git-Url: https://git.arvados.org/arvados-k8s.git/blobdiff_plain/18f0d7866fb9a02ceb2fcb95fab9b39b48bf8ce0..bc186e9c21f8892ebc0662fb0855cc75d51939b5:/arvados/config/api-server/90-init-db.sh diff --git a/arvados/config/api-server/90-init-db.sh b/arvados/config/api-server/90-init-db.sh index f964c14..cc16372 100644 --- a/arvados/config/api-server/90-init-db.sh +++ b/arvados/config/api-server/90-init-db.sh @@ -22,9 +22,9 @@ prepare_database() { if [[ -f "/create-workbench-api-client.rb" ]]; then # This is the API server cd /var/www/arvados-api/current - bundle exec script/create_superuser_token.rb thisisnotaverygoodsuperusersecretstring00000000000 + bundle exec script/create_superuser_token.rb {{ .Values.superUserSecret }} cd script - bundle exec get_anonymous_user_token.rb -t thisisnotaverygoodanonymoussecretstring00000000000 || true + bundle exec get_anonymous_user_token.rb -t {{ .Values.anonymousUserSecret }} || true bundle exec rails runner /create-workbench-api-client.rb fi