Merge pull request #175 from flashbots/random-postgres-client

Append a random number to postgres client
This commit is contained in:
Luke Van Seters 2021-12-21 15:46:21 -05:00 committed by GitHub
commit bb0420fd78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
mev
View File

@ -13,7 +13,7 @@ function db(){
username=$(get_kube_db_secret "username")
password=$(get_kube_db_secret "password")
kubectl run -i --rm --tty postgres-client \
kubectl run -i --rm --tty postgres-client-$RANDOM \
--env="PGPASSWORD=$password" \
--image=jbergknoff/postgresql-client \
-- $DB_NAME --host=$host --user=$username