8 lines
207 B
Bash
Executable File
8 lines
207 B
Bash
Executable File
#!/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
|