forked from IBM/rotisserie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrotisserie-app.yaml
46 lines (46 loc) · 901 Bytes
/
rotisserie-app.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
38
39
40
41
42
43
44
45
46
apiVersion: v1
kind: Service
metadata:
name: rotisserie-app
labels:
app: app
spec:
type: NodePort
ports:
- port: 3000
name: http
nodePort: 30080
selector:
app: app
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: rotisserie-app
spec:
replicas: 1
template:
metadata:
labels:
app: app
spec:
containers:
- name: rotisserie-app
image: anthonyamanse/rotisserie-app
imagePullPolicy: Always
ports:
- containerPort: 3000
env:
- name: OCR_HOST
value: rotisserie-ocr:3001
- name: token
valueFrom:
secretKeyRef:
name: rotisserie-secrets
key: token
- name: clientID
valueFrom:
secretKeyRef:
name: rotisserie-secrets
key: clientID
#USE SECRET