Created
April 3, 2023 07:37
-
-
Save badri/980a72ac3a0ea7d8a46e60efc7dc0a48 to your computer and use it in GitHub Desktop.
Postgres client image
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: postgresql-client | |
namespace: postgresql-client | |
labels: | |
app: postgresql-client | |
annotations: | |
cluster-autoscaler.kubernetes.io/safe-to-evict: "true" | |
spec: | |
serviceAccountName: postgresql-client | |
securityContext: | |
runAsNonRoot: true | |
supplementalGroups: [ 10001] | |
fsGroup: 10001 | |
containers: | |
- name: postgresql-client | |
image: andreswebs/postgresql-client | |
imagePullPolicy: Always | |
securityContext: | |
runAsUser: 1000 | |
stdin: true | |
tty: true | |
command: ["/bin/sh"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment