Add ability to create dbs

This commit is contained in:
2022-06-04 17:10:05 +02:00
parent 887424946f
commit 268b4693cf
2 changed files with 24 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
#!/bin/bash
set -e
PGPASSWORD=$1
kubectl run postgres-client --rm --tty -i --image "bitnami/postgresql" -n postgres --env="PGPASSWORD=$PGPASSWORD" --command -- psql --host postgres-postgresql -U postgres