Commit Graph
111 Commits
Author SHA1 Message Date
Safwan faf488fcd7 added support for multiple watch namespaces 2026-07-14 14:14:55 +05:00
Safwan 0ef47cdc4d added watch namespaces support 2026-07-14 13:09:14 +05:00
Safwan 3777305fb3 updated readme and comments 2026-06-22 20:40:39 +05:00
Safwan 3ace65a9ad refactoring 2026-06-22 20:34:40 +05:00
Safwan 73729c951e wip: port csi provider to v2 sa-8436 2026-06-22 16:42:01 +05:00
Safwan f11271bdcd fixed lint 2026-06-15 21:09:50 +05:00
Safwan aa6bde1fb7 fix for test 2026-06-15 21:03:54 +05:00
Safwan ddf16fbcc8 migrate recorder to new api 2026-06-15 18:37:28 +05:00
TheiLLeniumStudios 5f7f3a57bb feat: golangci-lint config and fixes 2026-01-08 10:25:05 +01:00
TheiLLeniumStudios bd030fe795 fix: A bunch of issues surfaced up via e2e tests and remove old e2e ones 2026-01-07 17:32:44 +01:00
TheiLLeniumStudios 5548ce559a feat: Introduce a Generic ResourceReconciler and a generic BaseWorkload to de-duplicate a lot of code 2026-01-05 00:59:57 +01:00
TheiLLeniumStudios c785067a44 feat: Use strategic merge to patch workloads and add metrics for load testing 2026-01-04 14:01:14 +01:00
TheiLLeniumStudios b55e597a2f fix: Issues with paused rollouts and test cases 2025-12-28 21:26:08 +01:00
TheiLLeniumStudios fa5f1858f1 feat: DeploymentConfig support 2025-12-28 16:43:28 +01:00
TheiLLeniumStudios 612006c091 feat: Upgrade all go packages 2025-12-28 09:02:51 +01:00
TheiLLeniumStudios ced6ffabd1 refactor: Move test helpers to testutil 2025-12-28 08:47:59 +01:00
TheiLLeniumStudios 172517512b feat: e2e tests and a lot of refactoring for existing tests 2025-12-28 08:47:58 +01:00
TheiLLeniumStudios 841f6f3868 feat: Improve test coverage of important packages 2025-12-28 08:47:57 +01:00
TheiLLeniumStudios fa60c1d853 refactor(reload): move resource types and reload decision structs to dedicated files and remove redundant code 2025-12-28 08:47:57 +01:00
TheiLLeniumStudios 3a8c300d35 refactor: unify label set implementations and rename variables for clarity and consistency across packages 2025-12-28 08:47:56 +01:00
TheiLLeniumStudios 3cf0119748 refactor(workload): centralize workload listing with registry-based listers and add Argo Rollouts support 2025-12-28 08:47:56 +01:00
TheiLLeniumStudios c19058a66e refactor: Re-use a lot of code and move to specific packages 2025-12-28 08:47:55 +01:00
TheiLLeniumStudios 3defc8bb29 refactor: Move all common reconcile logic to lister and reload handler 2025-12-28 08:47:55 +01:00
TheiLLeniumStudios 9d588cadb2 feat: Add reconciler test cases and config test cases 2025-12-28 08:47:55 +01:00
TheiLLeniumStudios f48c5ac1b3 feat: Migration to new implementation 2025-12-28 08:47:54 +01:00
TheiLLeniumStudios f70c4d2a43 feat: Argo rollouts workload + refactor of alerting 2025-12-28 08:47:53 +01:00
TheiLLeniumStudios 3cb45e8dc7 feat: Implement NamespaceReconciler for namespace label selector filtering 2025-12-28 08:47:53 +01:00
TheiLLeniumStudios ce1e7dfafb feat: Add webhook notification and conflict retry for Reloader v2 2025-12-28 08:47:52 +01:00
TheiLLeniumStudios 0a2aa122f5 feat: Add controller-runtime reconcilers and unit tests for reload packag 2025-12-28 08:47:52 +01:00
Safwan 174b57cdad Fixed linting 2025-11-04 17:39:24 +05:00
Muhammad Safwan KarimandGitHub 177d2756a8 Moved some functions to common package (#988)
* separate methods

* basic refactoring

* moved common code to util package to use it in gateway

* common check for argo rollouts

* made code compilable with latest changes on master

* Moved options to separate package and created CommandLineOptions instance that will be in sync with options values.

* reverted extra changes

* initialize CommandLineOptions with default options in module init

* wait for paused at annotation before checking deployment paused

* moved things around to fix things

* reverted unnecessary changes

* reverted rolling_upgrade changes

* reverted extra change

* additional checks in reloader

* refactor: ShouldReloadInternal method. It will be called by Reloader
ShouldReload has some additional resource/namespace filter checks which are not needed for Reloader

* added test cases

* moved config to sharable packae

* moved resource selector and label selctor methods

* fixed pipeline

* removed map.yaml

* removed vague comment
2025-08-15 15:51:47 +05:00
Safwan 61ba818d4d removed code for deployment config 2025-06-18 17:35:12 +05:00
e2592ddb35 With kubernetes/eks 1.30 or higher and sleep lifecycle the controller not restart deployment (#757)
* Fix reloader when deployment has a new lifecycle sleep policy

* Fix go mod tidy

* Fix deprecated packages

* Fix deprecated packages 2

---------

Co-authored-by: Muneeb Aijaz <43588696+MuneebAijaz@users.noreply.github.com>
2024-12-04 11:05:09 +01:00
deschmih 2260d72873 feature reload-on-delete implemented, test cases enhanced 2024-06-18 09:57:56 +02:00
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
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 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
faizanahmad055 cf40b431a3 Implement sync after restart
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
2023-03-09 23:02:19 +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
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