Commit Graph
162 Commits
Author SHA1 Message Date
Muneeb AijazandGitHub 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-gharsallaouiandGitHub 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 HulyandGitHub 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
Alex Vest 7f9f32ca58 Add leadership election 2022-10-04 16:41:34 +01:00
Ye Sijun 6937b8120b support record event
Signed-off-by: Ye Sijun <junnplus@gmail.com>
2022-09-30 21:30:16 +09:00
Anurag Ekkati d998c1a19e Reloader Reporting and Alerting #320
Alert a webhook supporting service ( e.g, slack ) whenever reloader reloads
workload on change
2022-07-06 16:32:18 -07:00
Maxwell Jiang 4b9844f5c3 the specific configmap/secret name can be regexp-ly selected 2022-05-31 01:34:56 -05:00
faizanahmad055 b5b684c67b Fix reload on create flag
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
2022-02-19 23:23:33 +01:00