Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
apiVersion: apps/v1
kind: Deployment
metadata:
name: adama
spec:
selector:
matchLabels:
app: adama
replicas: 1
template:
metadata:
labels:
app: adama
spec:
containers:
- name: adama
image: image_url_foo
ports:
- containerPort: 3000
imagePullSecrets:
- name: regcred
---
kind: PodPreset
metadata:
name: containerized-db
spec:
selector:
matchLabels:
app: adama
env:
- name: ADAMA_DATABASE_SERVICE_ADDRESS
value: dbi:pgsql:host=psql;dbname=adama_docker_test;user=adama
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment