-
Notifications
You must be signed in to change notification settings - Fork 2
/
deploy.yaml
46 lines (46 loc) · 1.13 KB
/
deploy.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: apps/v1
kind: Deployment
metadata:
name: webhook-gateway
labels:
product: webhook-gateway
spec:
replicas: 1
selector:
matchLabels:
product: webhook-gateway
template:
metadata:
labels:
product: webhook-gateway
spec:
containers:
- name: webhook-gateway
image: webhook_gateway:2.20.2
imagePullPolicy: IfNotPresent
env:
- name: BACKEND_API_TOKEN
valueFrom:
configMapKeyRef:
name: backend-config
key: backend_api_token
- name: GITHUB_TOKEN
valueFrom:
configMapKeyRef:
name: backend-config
key: github_token
- name: KAFKA_BROKER_LIST
valueFrom:
configMapKeyRef:
name: backend-config
key: kafka_broker_list
- name: KAFKA_TOPIC
valueFrom:
configMapKeyRef:
name: backend-config
key: kafka_topic
- name: XT_DOC_URL
valueFrom:
configMapKeyRef:
name: backend-config
key: xt_dock_link