guangwu
0442c5512f
fix: close resp body
2024-04-24 16:16:24 +08:00
liuzhenwei
2094906dcb
support --log-level argument in command line
...
Signed-off-by: liuzhenwei <dui_zhang@163.com >
2024-04-17 17:43:00 +08:00
looklose
8510ee2ef3
chore: fix typo in comment ( #633 )
...
Signed-off-by: looklose <shishuaiqun@yeah.net >
Co-authored-by: Karl-Johan Grahn <6355577+karl-johan-grahn@users.noreply.github.com >
2024-04-10 19:37:25 +02:00
Piotr Andrzejewski
989053888f
Add missing condition in upgrade test
2024-01-26 12:53:43 +01:00
Piotr Andrzejewski
bccefb1624
[ #582 ] Allow to use auto annotation with specific resource type (configmap or secret)
2024-01-19 14:38:36 +01:00
Muneeb Aijaz
59ebab3b68
Merge branch 'master' into feature/ms-teams-webhook
2023-12-27 14:06:30 +05:00
stgrace
4dfd0e514e
Fix comments
...
Signed-off-by: stgrace <stefgraces@hotmail.com >
2023-09-29 15:42:53 +02:00
Stef Graces
697923a5df
Merge branch 'master' into feature/cronjob_trigger
2023-09-29 15:39:19 +02:00
Utibeabasi Umanah
6dc37baf87
feat: trigger webhook on reload
...
Signed-off-by: Utibeabasi Umanah <utibeabasiumanah6@gmail.com >
2023-09-19 21:51:42 +01:00
Itai Spiegel
cabe0d8ba4
Fix tests
2023-08-06 17:51:02 +03:00
Itai Spiegel
b9e24b308e
Fix tests according to the updated condition
2023-08-06 15:34:13 +03:00
Itai Spiegel
3e6ccd0a45
Fix upgrade condition
2023-08-06 15:34:13 +03:00
Itai Spiegel
b5fde3876d
Add tests for the new feature
2023-08-06 15:34:13 +03:00
Itai Spiegel
4295b34cb1
Fix: Handle empty reloaderEnabledValue
2023-08-06 15:34:13 +03:00
Itai Spiegel
ff1946b406
Fix the reload condition
2023-08-06 15:34:13 +03:00
itaispiegel
18d8b7e353
Fix implementation to handle pod annotations
2023-08-06 15:34:13 +03:00
itaispiegel
e9942a56f4
Add --auto-reload-all flag
2023-08-06 15:34:13 +03:00
Karel Vanden Houte
465767ce01
add cronjob support
2023-06-30 14:06:03 +02:00
Damian Slowinski
daccf7e050
add Microsoft Teams webhook support
2023-06-06 15:55:01 +02:00
Damian Slowinski
330e69f417
add Microsoft Teams webhook support
2023-06-06 15:31:54 +02:00
ctrought
9ac351c219
fix: controller label selectors as string
...
Signed-off-by: Craig Trought <k8s@trought.ca >
2023-04-02 16:47:54 -04:00
ctrought
24e794bb38
fix: skip controller creation for namespace in test
...
Signed-off-by: Craig Trought <k8s@trought.ca >
2023-04-02 16:47:17 -04:00
ctrought
8ed0899ff3
fix: use apimachinery labelSelector parser to align with string implementation, supports != operator
...
Signed-off-by: Craig Trought <k8s@trought.ca >
2023-04-02 15:38:58 -04:00
ctrought
27c0a9b328
feat: additional labelSelector support
...
* add option to configure labelSelectors on configmaps & secrets
* support all labelSelectors
* label selector tests
* legacy support for ':' delimited selectors and wildcards
Signed-off-by: Craig Trought <k8s@trought.ca >
2023-03-31 19:08:10 -04:00
ctrought
e39a8f6bcf
refactor: use Namespace controller for namespaceSelector
...
Signed-off-by: Craig Trought <k8s@trought.ca >
2023-03-31 19:08:10 -04:00
dhia-gharsallaoui
4b13852de0
fix typo ( #423 )
2023-03-30 07:27:33 +02:00
faizanahmad055
cf40b431a3
Implement sync after restart
...
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
2023-03-09 23:02:19 +01:00
d3adb5
2f8999e3cb
chore: listen on only 9090 for /metrics and /live
...
Previously, 9091 and 9090 both led to the same web server, meaning both
/metrics and /live were reachable and fully functional through both.
This commit changes that so that only port 9090 is used for both.
Closes #381 .
2023-02-07 00:15:17 -08:00
faizanahmad055
0083edb3ca
Remove depreciated Seed
...
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
2023-02-06 23:13:07 +01:00
avihuly
9e7b70964e
Added wildcard label vaule option
2023-01-05 14:28:08 +02:00
avihuly
8ebbb476b2
Added logs on startup & get ns opration
2023-01-05 12:54:08 +02:00
Avi Huli
e7cfafd6d6
Handle empty selector & ns label key not exists
2022-12-27 18:49:23 +02:00
Avi Huli
15d7263c95
Handle empty selector & ns label key not exists
2022-12-27 18:44:59 +02:00
Avi Huly
481eeeffc4
Merge pull request #2 from stakater/master
...
Updates from master
2022-12-18 15:23:24 +02:00
faizanahmad055
9875c416df
Update log level to error and debug
...
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
2022-11-30 22:43:06 +01:00
faizanahmad055
b414e3b350
Update log level
...
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
2022-11-30 22:37:50 +01:00
faizanahmad055
e417e8bc12
Add error log
...
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
2022-11-30 22:35:39 +01:00
faizanahmad055
aafe3365eb
Update log level
...
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
2022-11-30 22:34:02 +01:00
faizanahmad055
d1cb53b65a
Update go version and dependencies
...
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
2022-11-30 21:31:59 +01:00
Avi Huly
08e6f81a15
Lint fix
2022-11-15 16:23:24 +02:00
Avi Huly
363fbd3b77
Test for namespace selector
2022-11-15 11:11:11 +02:00
Avi Huly
21502e2bb4
Added namespace selector functionality
...
Changes:
modified: internal/pkg/cmd/reloader.go
modified: internal/pkg/controller/controller.go
modified: internal/pkg/util/util.go
2022-11-12 23:00:56 +02:00
Alex Vest
1c7190884a
Merge branch 'master' into leadership-election
2022-10-06 11:17:35 +01:00
Alex Vest
488eaa9bef
Run leadership election as non blocking
...
Liveness probe endpoint will always be blocking on the main thread
2022-10-04 16:41:34 +01:00
Alex Vest
72a1c59cac
Err check response writer
2022-10-04 16:41:34 +01:00
Alex Vest
11ae057b0a
Add tests for leadership election
...
Pull liveness into leadership to ease testing, logically the liveness
probe is directly affected by leadership so it makes sense here.
Moved some of the components of the controller tests into the testutil
package for reuse in my own tests.
2022-10-04 16:41:34 +01:00
Alex Vest
d34c99baf4
Add liveness probe
2022-10-04 16:41:34 +01:00
Alex Vest
b7e83b74d8
Move leadership to its own package
2022-10-04 16:41:34 +01:00
Alex Vest
919f75bb62
Shutdown on leader election loss
2022-10-04 16:41:34 +01:00
Alex Vest
401d4227d1
Move consts to const pkg
...
Should move leadership bits to own pkg?
2022-10-04 16:41:34 +01:00