scale botkube up again
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
039884b1f9
commit
93240e17ac
26
botkube/README.md
Normal file
26
botkube/README.md
Normal file
|
@ -0,0 +1,26 @@
|
|||
# BotKube
|
||||
|
||||
## Rocket.Chat Script
|
||||
|
||||
```
|
||||
class Script {
|
||||
process_incoming_request({
|
||||
request
|
||||
}) {
|
||||
console.log(request.content);
|
||||
|
||||
return {
|
||||
content: {
|
||||
username: "BotKube",
|
||||
text: request.content.summary
|
||||
}
|
||||
};
|
||||
|
||||
return {
|
||||
error: {
|
||||
success: false
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
```
|
|
@ -7,7 +7,7 @@ metadata:
|
|||
component: controller
|
||||
app: botkube
|
||||
spec:
|
||||
replicas: 0
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
component: controller
|
||||
|
|
Reference in a new issue