-
Notifications
You must be signed in to change notification settings - Fork 1
/
k8s.yaml
37 lines (37 loc) · 894 Bytes
/
k8s.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
apiVersion: apps/v1
kind: Deployment
metadata:
name: name-pn
labels:
app: name-pn
spec:
selector:
matchLabels:
app: name-pn
template:
metadata:
labels:
app: name-pn
spec:
containers:
- name: name-pn
image: name-pn
ports:
- containerPort: 3000
env:
- name: JWT_SECRET
valueFrom:
secretKeyRef:
name: name-pn-tiltfile
key: jwt-secret
- name: POSTGRES_PASSWORD
valueFrom:
secretKeyRef:
name: name-pn-tiltfile
key: postgres-password
- name: BUTTONDOWN_API_KEY
valueFrom:
secretKeyRef:
name: name-pn-tiltfile
key: buttondown-api-key
optional: true