Commit Graph

398 Commits

Author SHA1 Message Date
Ivan Martynyuk
c0db40a800
Merge pull request #12 from valitydev/ft/TD-74
TD-74::update image tag
2022-06-15 10:51:31 +03:00
ivnmrtk
4209c3f5bd TD-74::update image tag 2022-06-15 10:51:08 +03:00
Ivan Martynyuk
27720bbdad
Merge pull request #11 from valitydev/ft/TD-74
TD-74::change the way of podName extraction
2022-06-14 17:43:57 +03:00
ivnmrtk
88b0266cc5 TD-74::change the way of podName extraction 2022-06-14 17:03:57 +03:00
Ivan Martynyuk
c99ff3212c
Merge pull request #10 from valitydev/ft/TD-74
TD-74::add logging
2022-06-10 13:25:09 +03:00
ivnmrtk
60330d8980 TD-74::update image tag 2022-06-10 12:22:13 +03:00
ivnmrtk
1328294f69 TD-74::add logging 2022-06-10 12:13:59 +03:00
Ivan Martynyuk
3992d66f47
Merge pull request #9 from valitydev/ft/TD-74
TD-74::change tag
2022-06-09 13:31:21 +03:00
ivnmrtk
f15fbaa9f2 TD-74::change tag 2022-06-09 13:12:20 +03:00
Ivan Martynyuk
51aed5a8e3
Merge pull request #8 from valitydev/ft/TD-74
TD-74::fix double pod-name mention
2022-06-07 18:28:55 +03:00
ivnmrtk
2287e69ed1 TD-74::fix double pod-name mention 2022-06-07 17:52:02 +03:00
Ivan Martynyuk
1e18b23ee1
Merge pull request #7 from valitydev/ft/TD-74
TD-74::fix empty url extraction
2022-06-07 16:48:55 +03:00
ivnmrtk
1a96c7d1fc TD-74::fix empty url extraction 2022-06-07 16:36:58 +03:00
Ivan Martynyuk
92789f5347
Merge pull request #6 from valitydev/ft/TD-74
TD-74::fix semver validation
2022-05-24 13:51:01 +03:00
ivnmrtk
2f59042aa6 TD-74::fix semver validation 2022-05-24 13:37:35 +03:00
Ivan Martynyuk
40ebd636af
Merge pull request #5 from valitydev/ft/TD-74
TD-74::fix ci
2022-05-24 13:17:12 +03:00
ivnmrtk
dce3139c0b TD-74::fix ci 2022-05-24 13:03:16 +03:00
Ivan Martynyuk
98d3cb7bc2
Merge pull request #4 from valitydev/ft/TD-74
TD-74::fix ci
2022-05-24 11:05:31 +03:00
ivnmrtk
f0f3aea0d5 TD-74::fix ci 2022-05-24 10:52:44 +03:00
Ivan Martynyuk
eaf5436343
Merge pull request #3 from valitydev/ft/TD-74
TD-74::introduce ci
2022-05-24 10:35:38 +03:00
ivnmrtk
c07f606241 TD-74::specify vality fork version 2022-05-23 10:01:52 +03:00
ivnmrtk
fb5011be59 Merge branch 'source_develop' into ft/TD-74
# Conflicts:
#	hack/goreleaser.sh
2022-05-19 12:32:33 +03:00
ivnmrtk
352b771b63 TD-74::trying to fix tests 2022-05-18 12:25:12 +03:00
ivnmrtk
21fd4dfccf Revert "TD-74::trying to get successful build"
This reverts commit 7db8bae5f9.
2022-05-12 15:54:25 +03:00
Krunal Hingu
a48b8276a0
added project_name field #576
##### ISSUE TYPE

 - Bug fix Pull Request


##### SUMMARY

project_name field was made mandatory in new goreleaser version, due to this make container-build was failing
added this field in .gorelease.yml to fix this issue
2022-04-28 06:08:50 +00:00
Lion916
42fb5bab50
fix: Failed to analyze an event whose lastTimestamp is null #573
##### ISSUE TYPE
- Bug fix Pull Request
##### SUMMARY
The lastTimestamp field of the event is sometimes null and sometimes not empty, but these are normal, just because the old and new APIS are called differently. So we need to add a judgment here, using the EventTime field if lastTimestamp is empty

Fixes https://github.com/infracloudio/botkube/issues/548
2022-04-21 09:32:51 +00:00
Prasad Ghangal
b30ffe524b
Bump golang.org/x/crypto dep to fix CI build #574
##### ISSUE TYPE
 - Bug fix Pull Request

##### SUMMARY

Bump golang.org/x/crypto dep to recent version fix CI build failing on PRs
2022-04-20 11:59:35 +00:00
ivnmrtk
7db8bae5f9 TD-74::trying to get successful build 2022-03-17 13:18:16 +03:00
ivnmrtk
dce29fa7a6 TD-74::fix comment on run method 2022-03-15 11:59:40 +03:00
ivnmrtk
eec71de6e2 TD-74::trying to satisfy linter 2022-03-15 11:48:46 +03:00
ivnmrtk
52b1622e00 TD-74::introduce ci 2022-03-14 20:51:37 +03:00
Prasad Ghangal
4e831c5b6e
Replace latest tag with v9.99.9-dev in builds #567
Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>

##### ISSUE TYPE
 - Bug fix Pull Request

##### SUMMARY

The latest goreleaser doesn't support non-semver image tags. 
This PR replaces `latest` tags with `v9.99.9-dev` to support latest version of goreleaser
2022-02-21 07:25:14 +00:00
ivnmrtk
3b9149390e Merge remote-tracking branch 'source-origin/develop' into develop
# Conflicts:
#	pkg/config/config.go
2022-02-18 11:58:30 +03:00
Ivan Martynyuk
9b3a8b128f
Merge pull request #1 from valitydev/ft/TD-74
TD-74::add filter to show pod's url in kibana
2022-02-17 10:48:48 +03:00
ivnmrtk
6a88e95cf1 TD-74::add logs-url field to events entity 2022-02-16 16:46:58 +03:00
ivnmrtk
a894a5e947 TD-74::url string format using recommendations field 2022-02-16 11:56:55 +03:00
Liu Shaohui
0558e01664
Add lark notification and bot support #532
##### ISSUE TYPE

 - Feature Pull Request

##### SUMMARY

larksuit(https://www.larksuite.com/en_us/) is a collaboration and communication platform and used by many customers in the world.  It has a friendly open platform for 3rd parity apps and bots to intergate.

The PR is adding the support of lark notification and bot  in botkube.




Fixes #XXX
2022-02-14 16:52:36 +00:00
ivnmrtk
45f61df4c4 TD-74::move kibana url to yaml configuration 2022-02-14 15:04:01 +03:00
ivnmrtk
5003e6c234 TD-74::fix 2022-02-11 11:42:57 +03:00
ivnmrtk
8908bb28d8 TD-74::add filter to show pod's url in kibana 2022-02-11 11:28:17 +03:00
Augustas
686193bf28
Feature: CI vulnerability scan #565
##### ISSUE TYPE

 - Feature Pull Request

##### SUMMARY

Fixes #549 so vulnerabilities would be automatically reported inside CI pipeline. Scan results will be sent to GitHub Security tab as well.
2022-02-09 18:08:18 +00:00
Denis Baryshev
91d98e9118
[helm] Set empty list as default value for extraEnv #540
Signed-off-by: Denis Baryshev <dennybaa@gmail.com>

Co-authored-by: Prasad Ghangal <prasad.ghangal@gmail.com>
2022-02-04 08:42:38 +00:00
Rajiv Singh
f1fa4e45cb
perf: Use strings.EqualFold for string comparison #562
## Description

`strings.ToLower/strings.ToUpper` will have to allocate memory for the new strings, as well as convert both strings fully, even if they differ on the very first byte. On the other hand, `strings.EqualFold` compares the strings one character at a time. It doesn't need to create two intermediate strings and can return as soon as the first non-matching character has been found.
2022-02-04 04:32:57 +00:00
Prasad Ghangal
93407b67cb
ci(Mergify): configuration update (#563) 2022-02-04 09:40:12 +05:30
Lion916
176c41e872
Ignore error of type not found in resource (#558)
##### ISSUE TYPE

 - Feature Pull Request

##### SUMMARY

After using Botkube for some time, I found a large number of "not found" errors when querying logs for troubleshooting. 
![image](https://user-images.githubusercontent.com/46153551/147660719-bfc76aa6-2912-44ef-a762-ebe8104ff764.png)


Following the code, it turns out that these errors are caused by the Informer cache but are actually normal. Controller-runtime does a similar thing.
https://github.com/kubernetes-sigs/controller-runtime/blob/master/pkg/client/interfaces.go
```
// IgnoreNotFound returns nil on NotFound errors.
// All other values that are not NotFound errors or nil are returned unmodified.
func IgnoreNotFound(err error) error {
	if apierrors.IsNotFound(err) {
		return nil
	}
	return err
}
```
2022-01-06 06:53:20 +00:00
Prasad Ghangal
a334c86a11
[Test] Do not log msg in tests (#555)
##### SUMMARY

Do not log msg in tests to fix CVE checks

https://github.com/infracloudio/botkube/runs/4527109648
2021-12-17 11:18:40 +00:00
Andrew Suderman
6d4e099eb7
[Feature] Add the ability to specify a kubeconfig and disable service account token mounting in helm chart (#493)
##### ISSUE TYPE

 - Feature Pull Request

##### SUMMARY
This provides the ability to directly specify a kubeconfig for botkube to use when installing via helm. In addition, it adds a value that will disable service account token mounting. This provides the ability to run botkube against other clusters that it is not currently running in.
2021-12-14 22:25:46 +00:00
Prasad Ghangal
326b138ca9
Upgrade github.com/gogo/protobuf dep (#553)
Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>
2021-12-14 10:20:14 +05:30
Prasad Ghangal
93eeeea79f Release v0.12.4 2021-12-13 09:13:05 +05:30
Prasad Ghangal
cbdf380b16
Upgrade golang.org/x... pkg deps (#552)
Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>
2021-12-11 16:23:33 +05:30