Commit Graph
223 Commits
Author SHA1 Message Date
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 8b3ad89336 chore: Fix formatting issues 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 b5df945fff feat: reload execution and observability 2025-12-28 08:47:52 +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
TheiLLeniumStudios 94e3fcd702 feat: Add reload package with core matching and strategy logic 2025-12-28 08:47:51 +01:00
TheiLLeniumStudios dce45a454a refactor: migrate reloader command to use new config package 2025-12-28 08:47:51 +01:00
TheiLLeniumStudios b9a7b8997c feat: add v2 foundation packages for config and workload abstraction 2025-12-28 08:47:51 +01:00
Safwan 174b57cdad Fixed linting 2025-11-04 17:39:24 +05:00
Pradeep Lakshmi Narasimha a77c10a2c6 fix: Prevent permission errors for ignored workload types #996
Signed-off-by: Pradeep Lakshmi Narasimha <pradeep.vaishnav4@gmail.com>
2025-09-30 22:43:56 +05:30
Pradeep Lakshmi NarasimhaandFelix dd0807e951 fix: Controller not respecting ignore* flags 2025-08-29 12:24:02 +02:00
Felix Tonnvik aa481d9568 fixed broken test 2025-08-19 11:06:08 +02: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
Pradeep Lakshmi Narasimha 1e6a6ec2d9 fix: handle operator crash when using workloadRef 2025-08-14 07:55:56 +05:30
Muhammad Safwan KarimandGitHub 1e46d44c7c Added pprof flag (#980)
* added pprof flag

* updated chart

* fixed linting and spelling
2025-07-29 15:49:30 +05:00
Muhammad Safwan KarimandGitHub 49409dce54 Extracted some functions to public package to reuse them in gateway (#966)
* 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
2025-07-29 11:50:02 +05:00
Safwan dcf4b0d0f6 merged deployment pause related changes 2025-07-21 15:14:30 +05:00
Safwan b8b7cdb610 Merge branch 'master' into sa-7499-expose-meta-info 2025-07-21 14:28:07 +05:00
Safwan 1e1f094516 resolved comments and stuff 2025-07-18 19:27:26 +05:00
Muhammad Safwan KarimandGitHub a9566fa672 Merge pull request #958 from s10/feature/pause
Add pausing deployments during upgrades
2025-07-18 15:38:33 +05:00
Safwan 3999edb7a3 Merge branch 'master' into sa-7499-expose-meta-info 2025-07-16 17:33:38 +05:00
Safwan f69773c588 refactoring 2025-07-15 20:08:23 +05:00
Safwan 8b257a3f0c publish configmap with meta info 2025-07-15 19:16:26 +05:00
Muhammad Safwan KarimandGitHub 93936d12c1 Merge pull request #933 from yo-ga/fix/specific-namespace
Ignore namespaceSelector when not watch globally
2025-07-11 17:14:19 +05:00
Christian Ciach 99c45b3ca3 Add test for CronJob owner references 2025-07-09 12:45:24 +02:00
Christian Ciach 81315adc9b Add conventional annotation to triggered jobs 2025-07-09 12:38:12 +02:00
Christian Ciach ad0407517d Add OwnerReference to generated Jobs 2025-07-09 12:38:12 +02:00
Vladislav Gusev cafa14f0e7 Add pausing deployments during upgrades 2025-07-08 16:59:42 +03:00
Yoga Yu e8cb97a6d1 Merge branch 'master' into fix/specific-namespace 2025-07-04 10:37:34 +08:00
Jamie be09beac29 feat: add ignore annotation support for skipping reloads 2025-07-03 14:06:44 +01:00
Alex MarstonandGitHub 144cc910af Merge branch 'stakater:master' into support-gchat 2025-07-03 09:59:49 +01:00
Vladimir Videlov f896e1462d Update 2025-07-02 12:20:42 +02:00
Vladimir Videlov 8b0311f799 Rename 2025-07-01 14:39:08 +02:00
Vladimir Videlov fafb5f45d6 Do not fetch resource on first attempt (already up-to-date from Items func) 2025-07-01 14:27:47 +02:00
Safwan 61ba818d4d removed code for deployment config 2025-06-18 17:35:12 +05:00
Alex Marston 5139d65f9c feat: support Google Chat as an Alert notification provider 2025-06-10 14:38:06 +01:00
Yoga Yu b6d538dca8 fix: ignore filter when in-ns 2025-06-07 01:40:47 +08:00
Vladimir VidelovandGitHub f9561a2167 Fix lint (#2) 2025-05-07 17:49:03 +02:00
Vladimir Videlov c2d6b95297 Support for resource patching with retries (#1)
* Initial

* State

* State

* Revert unintentional change

* Update

* Update

* Fix tests

* Support patching for both reload strategies

* rolling_upgrade tests

* Update

* More tests

* Remove unnecessary stuff
2025-05-07 16:24:07 +02:00
Mohamed SekourandGitHub 574129d637 support recreating k8s jobs when configmap/secret changed (#808)
* support recreating k8s jobs when configmap/secret changed

Co-authored-by: Mohamed Sekour <mohamed.sekour@exfo.com>

* add unit tests

* fix tests
2025-02-05 10:50:25 +01:00
Steeve Chailloux d45054ba5a rollout update strategy annotation
Signed-off-by: Steeve Chailloux <me@steeve.io>
2025-01-13 10:05:26 +01: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
lochan_2112andGitHub 53b650ac80 Provide annotations to exclude reloading resources (#764)
* Provide annotations to exclude reloading resources

* update test case

* undo commented tests

* remove sleep
2024-11-16 20:36:27 +01:00
joey.angeja 0071048d6d Merge remote-tracking branch 'upstream/master' 2024-08-16 08:09:59 -07:00
Muneeb AijazandGitHub bb1afc2932 Merge pull request #727 from bnallapeta/fix-lint
fixing go vet issues with logrus
2024-08-16 14:49:30 +05:00
bnallapeta 800232c5e8 fixing lint issues with logrus 2024-08-14 16:47:01 +05:30