Nikolaus Schuetz
4471a45591
Surface invalid-regex errors to the call site with workload context
...
Per review: instead of logging the skipped pattern inside ShouldReload
(which lacks workload identity), collect the compile errors on
ReloadCheckResult.Errors and log them at the upgrade call site, where the
resource name, type, and namespace are known. Add a test for the
multi-value case where one comma-separated pattern is malformed and a
valid one still matches.
2026-08-01 21:21:02 -07:00
TheiLLeniumStudios
883ce07c70
test: remove redundant comments and clean up test code
2026-01-14 12:35:48 +01:00
TheiLLeniumStudios
f0e6d3af58
feat: A lot of refactoring and CSI test cases
2026-01-10 13:42:10 +01:00
TheiLLeniumStudios
46e7d74bd1
Merge master into feat/e2e-test
2026-01-09 16:33:50 +01:00
TheiLLeniumStudios
16ff7f6ac9
fix: Default reconcile metric result to error for panic safety
2026-01-09 15:27:19 +01:00
TheiLLeniumStudios
b945e5e828
chore: Merge from master
2026-01-08 22:12:19 +01:00
TheiLLeniumStudios
eb3bc2447e
refactor(upgrade.go): simplify retryOnConflict to return matched status and error
2026-01-08 11:12:10 +01:00
TheiLLeniumStudios
fafd5460a2
feat: Initial e2e tests and migrate old ones into e2e
2026-01-08 11:06:45 +01:00
faizanahmad055
157cf0f2e4
Remove SHA1 changes
...
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
2026-01-07 12:13:04 +01:00
faizanahmad055
e1db875efe
Fix failing tests
...
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
2026-01-06 22:20:20 +01:00
TheiLLeniumStudios
9a3edf13d2
feat: Load tests
2026-01-06 11:03:26 +01:00
faizanahmad055
4b90335362
Readme update and fix tests
...
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
2026-01-04 21:52:07 +01:00
faizanahmad055
0f1d02e975
Readme update and code refactor
...
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
2026-01-04 02:40:42 +01:00
Safwan
4f8b22e954
resolved comments
2025-11-25 01:48:54 +05:00
Safwan
cdaed4a8af
Merge branch 'master' into add-csi-support
2025-11-25 01:27:08 +05: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
Felix Tonnvik
aa481d9568
fixed broken test
2025-08-19 11:06:08 +02:00
Muhammad Safwan Karim and GitHub
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 Karim and GitHub
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
Vladislav Gusev
cafa14f0e7
Add pausing deployments during upgrades
2025-07-08 16:59:42 +03:00
Jamie
be09beac29
feat: add ignore annotation support for skipping reloads
2025-07-03 14:06:44 +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
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
Zanis
570649e56b
Minor improvements to tests and handlers
2025-02-05 22:01:19 +00:00
Zanis
75f9a23de3
Added tests
2025-02-05 22:01:09 +00:00
Zanis
3c39406ca9
Added capability to use OnChangeAnnotation and TypeAutoAnnotation
2025-02-05 21:51:11 +00:00
Zanis
6d1d017aa4
Don't reload existing config
2025-02-05 21:51:10 +00:00
Zanis
f6887b4d8a
Added support for CSI secret provider
...
Signed-off-by: Zanis <22601571+ZanisO@users.noreply.github.com >
2025-02-05 21:51:10 +00:00
Mohamed Sekour and GitHub
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
lochan_2112 and GitHub
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
Muneeb Aijaz and GitHub
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
deschmih and GitHub
cbf501fc75
Merge branch 'master' into master
2024-07-08 07:56:01 +02:00
deschmih
2260d72873
feature reload-on-delete implemented, test cases enhanced
2024-06-18 09:57:56 +02:00
Alexander Davis
6cd458b8ed
chore(tests): fix ReloadedByNamespace tests
2024-06-14 16:24:09 -05:00
Alexander Davis
220a9d5f68
fix: wrong conditional on new metric test
2024-06-14 15:49:22 -05:00
Alexander Davis
3f6e98a9d5
feat: add new opt-in metric of reloads by namespace
2024-06-14 15:20:38 -05:00
guangwu and guangwu
0442c5512f
fix: close resp body
2024-04-24 16:16:24 +08: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
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