-
Notifications
You must be signed in to change notification settings - Fork 0
/
deployment.yaml
59 lines (59 loc) · 1.75 KB
/
deployment.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
47
48
49
50
51
52
53
54
55
56
57
58
59
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: reach4help-bot
spec:
replicas: 1
selector:
matchLabels:
app: chatbot
template:
metadata:
labels:
app: chatbot
spec:
containers:
- name: reach4help-chatbot
image: gcr.io/reach4help/reach4help-chatbot:latest
ports:
- containerPort: 8080
env:
- name: SITE_ROOT
value: "http://chatbot.reach4help.org"
- name: PORT
value: "8080"
- name: FIREBASE_BOT_AUTH_ENDPOINT
value: "https://us-central1-reach4help-dev.cloudfunctions.net/https-authenticateBot"
- name: FIREBASE_API_KEY
valueFrom:
secretKeyRef:
name: chatbot
key: FIREBASE_API_KEY
- name: FIREBASE_AUTH_DOMAIN
value: "reach4help-dev.firebaseapp.com"
- name: FIREBASE_DATABASE_URL
value: "https://reach4help-dev.firebaseio.com"
- name: FIREBASE_PROJECT_ID
value: "reach4help-dev"
- name: FIREBASE_APP_ID
value: "1:664078449280:web:115f33485dfc48e35f4465"
- name: SLACK_TOKEN
valueFrom:
secretKeyRef:
name: chatbot
key: SLACK_TOKEN
- name: GOOGLE_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: chatbot
key: GOOGLE_CLIENT_SECRET
- name: GOOGLE_CLIENT_ID
valueFrom:
secretKeyRef:
name: chatbot
key: GOOGLE_CLIENT_ID
- name: FIREBASE_BOT_TOKEN
valueFrom:
secretKeyRef:
name: chatbot
key: FIREBASE_BOT_TOKEN