Commit Graph

14 Commits

Author SHA1 Message Date
Prasad Ghangal
c0c4173cde Release v0.9.0 2019-10-11 16:44:20 +05:30
Prasad Ghangal
8eccd714ac
Fix namespace format in config files (#198)
* Fix helm/botkube/values.yaml clusterrolebinding namespace info

* Fix namespace format for clusterrole res in config

Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>
2019-10-11 14:57:47 +05:30
Prasad Ghangal
8835dea144
Update Deprecated API groups in K8s 1.16 (#192)
Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>
2019-10-10 15:28:47 +05:30
Prasad Ghangal
2f43ab9cb2 Use infracloudio/botkube repo for docker images
Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>
2019-09-30 14:35:27 +05:30
Aananth K
9800db7fe6 Add support for Webhooks
This commit,
- Adds support for event notifications through `Wehbook` 
- updates configs in all yaml files
- updated helm charts
- adds unit tests for webhook notifier
- adds integration test webhook notifier
- adds test/webhook package to enable integration testing.
2019-09-02 13:18:51 +05:30
coder
600ad6d72e Run containers as Non Privileged user (#168)
This Commit,
- runs botkube containers as Non Privileged user
- adds `securityContext` filed to containers in all yaml files.
- adds `securityContext` fields to helm charts
2019-09-01 11:08:29 +05:30
coder
964cff5d88 Add support for ignoring namespaces (#139)
This Commit,
- adds support for ignoring certain namespaces while watching all namespaces using `IgnoreNamespaceChecker`
- replaces `Namespaces []string` with `Namespaces.Include []string`
- adds `Namespaces.Ignore []string` ( optional / omitempty ) filed to ignore namespaces when Namespaces.Inculde contains "all"
- adds unit test cases for isNamespaceIgnored()
2019-08-20 12:49:27 +05:30
coder
1f9efd6163 Enhance Update Events with resource spec diff and Change event message formats (#158)
* Include Namespace field only for Namespaced event notifs

This Commit
- includes namespace field only for namespaced objects notifs
- excludes namespace field from namespace independent resource events

* Enhance Update Event Notifications

This Commit,
- enhances update event notifications with details of what Spec is getting changed
- adds custom `SpecDiffReporter` and `utils.Diff()` method.
- adds update events in all config.yaml files
- adds unit-test for utils.Diff()
- adds update events for Deployment, Statefulset and Job by default.
2019-08-18 21:39:06 +05:30
coder
a481321048 Add flag to control Config Watcher (#152)
This commit,
- adds `config.settings.configwatcher` to enable/disable config watcher
- updates info in all config.yaml files
2019-08-12 10:24:13 +05:30
Prasad Ghangal
fc5362b752
Use SharedInformerFactory instead of cache.Informer (#146)
* Use SharedInformerFactory instead of cache.Informer
Improve event filtering logic
Fix timestamp for deployment/statefulset delete event

Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>

* Fix job_status_checker filter to allow create events

Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>

* Vendoring: Update Dependencies

Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>
2019-08-09 14:54:10 +05:30
coder
be5fade9a1 Enhance Notification : short/long notification type (#127)
This commit,
- enables sending short/long event notifications to channels
- adds a optional filed "notiftype" under channel config to change between short (default) and long notif types
- adds Message() method to event object for creating brief messages (to use across handlers)
- BugFix: enable/disable recommendations through config file
2019-07-26 11:59:15 +05:30
Prasad Ghangal
43039842ea Release v0.8.0 2019-07-09 16:13:16 +05:30
Prasad Ghangal
5e3e47f246 Check if new version of BotKube avaiable and notify user
Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>
2019-06-25 18:58:01 +05:30
mugdha-adhav
24eb71e755 Add TLS support for Mattermost in Botkube
Closes #81
2019-05-08 10:29:03 +05:30