helm: Convert the anonymous and superuser token to values in values.yaml
[arvados-k8s.git] / arvados / config / sso / 90-init-db.sh
index 3d8a878445c9b775d1a0c22b413c2a70162e73a5..0515dd63cdd0aa76542294ca51a04323873ca33c 100644 (file)
@@ -19,15 +19,6 @@ prepare_database() {
     echo "Warning: Database is not ready to set up." >&2
     exit 1
   fi
-
-  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
-    cd script
-    bundle exec get_anonymous_user_token.rb -t thisisnotaverygoodanonymoussecretstring00000000000 || true
-    bundle exec rails runner /create-workbench-api-client.rb
-  fi
 }
 
 prepare_database "db:schema:load"