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
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
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
Mohamed Sekour
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
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
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
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
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
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
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
aenima4six2
dfe7e9b3ca
176 - Add reload strategies to support pod annotation templates
2021-10-17 19:09:50 -04:00
tete17
71fdb53c2e
Update ArgoCD Rollouts to 0.10.2 to fix a compatibility issue and update necessary k8s machinery
2021-05-31 15:35:51 +02:00
Amund Tenstad
54a8e0683b
Propagate PerformRollingUpgrade error to Handle
2021-04-21 13:25:08 +02:00
faizanahmad055
344004d0b3
Make argo rollouts optional
...
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
2021-03-22 11:30:22 +01:00
tete17
614865a8d7
Add support for ArgoCD Rollout CRD
2021-02-23 18:24:39 +01:00
talha0324
fde312edcc
Update golang code lint errors
2021-01-19 15:54:30 +05:00
Júlia Biró
ed6ea026a8
Trim spaces in annotation list ( #165 )
...
* strip whitespace
* only trim spaces
2020-09-22 15:29:29 +02:00
Josh Soref
61e9202781
Spelling ( #161 )
...
* spelling: create-or
2020-09-01 10:32:16 +05:00
Clive Jevons
6a008999f5
Include data from ConfigMap.BinaryData when calculating SHA
2020-08-06 13:37:50 +02:00
Vlad Losev
6bcec06052
Fixes missing import.
2020-06-09 19:45:12 -07:00
Vlad Losev
0988e8947f
Removes unused import.
2020-06-09 19:18:12 -07:00