-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgrappler.yml
111 lines (106 loc) · 2.53 KB
/
grappler.yml
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
apiVersion: v1
kind: ConfigMap
metadata:
name: grappler
data:
config.yml: |-
hooks:
# Kazamatsuri: Public
- key: 292b09f10b7735963f8313cafa805a71
type: discourse
filter:
- topic_created
invoke:
- id: 272706660244520960
token: l7oJgCsL8nzmyesVRiseILfaiS_esywpFVV0S-l3h81YryyqH-Pj2TvDcKO_TY_WzAXN
# Kazamatsuri: Clubroom
- key: 7698a71244d897aa1ff01cd62f2e1747
type: discourse
filter:
- topic_created
invoke:
- id: 272710006598533120
token: M5iJkFaDypH49YPYo1VNfCMDSLWXkeFPvRuWEoC0Fh5kF2ZEBeE3jOTXuYFZCd4xO1-U
# Kazamatsuri: Staff
- key: 97b11a595a7ebfd0fb72c29ff39e1958
type: discourse
filter:
- topic_created
invoke:
- id: 272710151625244672
token: LmH-w6zB2jjBj2MPvvx0ap44PGA3bt2Hp7ea6DQ4xVdeRduqvZIGf1B9KdtPZPjLvtKE
# Rokkenjima: Public
- key: daca67281a0826a0255947eb72a81696
type: discourse
filter:
- topic_created
invoke:
- id: 274877500893429763
token: f_3paCi6fw_aDvWnAR_-EFnJMc5Xo9bIC7hDUNM8znsyWZ4IcZp8FoIUA7L1h2iiytaX
# Rokkenjima: The Golden Land
- key: 8a0c85b28e6c2ece1290bdc2557bb6cc
type: discourse
filter:
- topic_created
invoke:
- id: 274882912355221505
token: UpDmKpw0seHLKOqJbs7vDVYTOJAS32_LTGt1GazMPnWK7MfBzpvle3FeZ-Jmt8b3QFDY
# Rokkenjima: Staff
- key: ee082454b9111b40d50d48f151883ab1
type: discourse
filter:
- topic_created
invoke:
- id: 274882982744031232
token: h7wdtk2i7vLz0RcPfCTIEP3QqWxGDCuM8B2RTFXxcJmzkTIPOal6B9WcrSBFuGK9qfAw
---
apiVersion: v1
kind: Service
metadata:
name: grappler
spec:
selector:
app: grappler
ports:
- name: http
port: 80
targetPort: 8000
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: grappler
spec:
replicas: 1
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 1
maxSurge: 0
template:
metadata:
labels:
app: grappler
spec:
containers:
- name: grappler
image: kazokuco/grappler
imagePullPolicy: Always
command: ["grappler", "/config/config.yml"]
env:
- name: bump
value: v1
livenessProbe:
httpGet:
path: /health
port: http
ports:
- name: http
containerPort: 8000
volumeMounts:
- name: config
mountPath: /config
volumes:
- name: config
configMap:
name: grappler