Skip to content

Commit

Permalink
reset admin user password
Browse files Browse the repository at this point in the history
  • Loading branch information
AmberCharitos committed Jul 16, 2024
1 parent 93529f1 commit f4c81cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion startup-scripts/k8s-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,14 @@ cd /app && superset db upgrade
echo_step "1" "Complete" "Applying DB migrations"

# Create an admin user
echo_step "2" "Starting" "Setting up admin user ( admin / $ADMIN_PASSWORD )"
echo_step "2" "Starting" "Setting up admin user"
superset fab create-admin \
--username admin \
--firstname Superset \
--lastname Admin \
--email [email protected] \
--password "$ADMIN_PASSWORD"
superset fab reset-password --username admin --password "$ADMIN_PASSWORD"
echo_step "2" "Complete" "Setting up admin user"
# Create default roles and permissions
echo_step "3" "Starting" "Setting up roles and perms"
Expand Down

0 comments on commit f4c81cc

Please sign in to comment.