Created
July 2, 2021 13:06
-
-
Save hitman99/d5d67be9dbe641e34104d871fbf44c96 to your computer and use it in GitHub Desktop.
Postgresql client pod
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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: pgcli | |
namespace: sandbox | |
spec: | |
containers: | |
- name: pgcli | |
image: jbergknoff/postgresql-client | |
command: ['sh', '-c', 'sleep 600'] | |
env: | |
- name: PG_ENDPOINT | |
valueFrom: | |
secretKeyRef: | |
name: pg-secret-user | |
key: POSTGRES_URL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment