fp/scripts/keycloak-seed.sh

4 lines
167 B
Bash
Executable File

#!/bin/bash
kubectl -n futureporn exec postgresql-primary-0 -- env PGPASSWORD=${POSTGRES_PASSWORD} psql -U postgres --command "CREATE DATABASE keycloak;"
echo "Done."