Skip to content

Instantly share code, notes, and snippets.

@joaom182
Created September 18, 2019 11:11
Show Gist options
  • Save joaom182/d4122255e33bb3fd19ddd0f14e1cdd42 to your computer and use it in GitHub Desktop.
Save joaom182/d4122255e33bb3fd19ddd0f14e1cdd42 to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: konga
namespace: kong-system
spec:
replicas: 1
template:
metadata:
labels:
name: konga
app: konga
spec:
containers:
- name: konga
image: pantsel/konga
env:
- name: DB_ADAPTER
value: postgres
- name: DB_HOST
value: kong-postgres-svc
- name: DB_USER
value: kong
- name: DB_PASSWORD
valueFrom:
secretKeyRef:
name: kong-db-secret
key: password
- name: DB_DATABASE
value: kong
- name: TOKEN_SECRET
value: NzM1OWFmZTNjNGI4MGQ3ZmNlNTkwYzBjZDQ0NTQzNzJiODU2Y2FmNAo=
ports:
- containerPort: 1337
protocol: TCP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment