Skip to content

Instantly share code, notes, and snippets.

@ChrisChinchilla
Created June 4, 2020 15:37
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ChrisChinchilla/d011b29d2d73b042cece42a4909bdc9d to your computer and use it in GitHub Desktop.
Save ChrisChinchilla/d011b29d2d73b042cece42a4909bdc9d to your computer and use it in GitHub Desktop.
spec:
containers:
- name: postgres
image: postgres:latest
envFrom:
- configMapRef:
name: postgres-config
ports:
- containerPort: 5432
name: postgredb
volumeMounts:
- name: postgredb
mountPath: /var/lib/postgresql
subPath: postgres
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment