Created
March 25, 2023 03:53
-
-
Save ariefrahmansyah/f9261987a6b3842c8489e28b1fdaa027 to your computer and use it in GitHub Desktop.
psql shell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| kubectl run -i --rm --tty --image=postgres:12.6 --restart=Never --env POSTGRES_PASSWORD=“${PASSWORD}” --env PGPASSWORD=“${PASSWORD}” psql-shell -- psql -h "${HOST}" -d "${DATABASE}" -U "${USER}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment