Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helm Chart: Numerous improvements #4000

Closed
wants to merge 17 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Don't need to create custom db like this
  • Loading branch information
nwmac committed Oct 31, 2019
commit f7512939f8cc87b9f42dccbf9cbe44dee6173b78
6 changes: 0 additions & 6 deletions deploy/db/mariadb-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ EOSQL
fi
fi

if [ "$DB_DATABASE_NAME" ]; then
echo "CREATE DATABASE IF NOT EXISTS \`$DB_DATABASE_NAME\` ;" >> "$tempSqlFile"
echo "CREATE USER $DB_USER IDENTIFIED BY '$DB_PASSWORD' ;" >> "$tempSqlFile"
echo "GRANT ALL ON \`$DB_DATABASE_NAME\`.* TO '$DB_USER'@'%' ;" >> "$tempSqlFile"
fi

echo 'FLUSH PRIVILEGES ;' >> "$tempSqlFile"
set -- "$@" --init-file="$tempSqlFile"
fi
Expand Down