faizanahmad055
e1db875efe
Fix failing tests
...
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
2026-01-06 22:20:20 +01: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
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
Vladislav Gusev
cafa14f0e7
Add pausing deployments during upgrades
2025-07-08 16:59:42 +03: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
e7e095cb4b
Fixed tests
2025-02-05 23:36:08 +00:00
Zanis
570649e56b
Minor improvements to tests and handlers
2025-02-05 22:01:19 +00:00
Zanis
69b0d93f31
Added controller tests
2025-02-05 22:01:19 +00:00
Zanis
75f9a23de3
Added tests
2025-02-05 22:01:09 +00: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
Steeve Chailloux
d45054ba5a
rollout update strategy annotation
...
Signed-off-by: Steeve Chailloux <me@steeve.io >
2025-01-13 10:05:26 +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
deschmih
2260d72873
feature reload-on-delete implemented, test cases enhanced
2024-06-18 09:57:56 +02:00
Piotr Andrzejewski
989053888f
Add missing condition in upgrade test
2024-01-26 12:53:43 +01: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
Itai Spiegel
b9e24b308e
Fix tests according to the updated 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
faizanahmad055
0083edb3ca
Remove depreciated Seed
...
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
2023-02-06 23:13:07 +01:00
Alex Vest
1c7190884a
Merge branch 'master' into leadership-election
2022-10-06 11:17:35 +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
Ye Sijun
6937b8120b
support record event
...
Signed-off-by: Ye Sijun <junnplus@gmail.com >
2022-09-30 21:30:16 +09: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
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
Liu Ming
a505d2e3b1
style: gofmt -l -w -s .
...
Signed-off-by: Liu Ming <hit_oak_tree@126.com >
2020-07-28 21:45:56 +08:00
Vlad Losev
be7d454504
Fixes test using auto annotations.
2020-06-09 19:16:04 -07:00
Vlad Losev
3131116ed6
Re-adds sleep statements.
2020-06-09 19:16:04 -07:00
Vlad Losev
17f8b81110
Simplifies annotations for searching secrets for reload.
2020-06-09 19:16:03 -07:00
Vlad Losev
5980c91560
Abstracts out configmap and deployment creation.
2020-06-09 19:16:01 -07:00
Vlad Losev
fda733ea5a
Adds support for auto-reloading secrets and configmaps by annotation.
2020-06-09 19:14:14 -07:00
Quan Hoang
d4223311de
Support projected volume
2020-06-02 23:36:08 +07:00
aure-olli
2384d65953
feat: allow annotations in the pod template too ( #123 )
...
Several public charts only allow to edit the annotations of the pod template, not the deployment. Annotations will also be checked in the pod template if not present in the deployment.
fix : #122
Signed-off-by: Aurélien Lambert <aure@olli-ai.com >
2020-02-14 07:32:31 +01:00
waseem
ec35f653b1
Fix labels
2019-10-16 07:25:02 +02:00
waseem
9229775f11
Make reloader compatible with kubernetes 1.16
2019-10-16 07:03:43 +02:00
waseem
4822dbae86
Remove GetClient from testutil
2019-07-05 12:30:11 +02:00
waseem
20d88e0668
Fix test cases
2019-07-04 09:58:33 +02:00
waseem
e06394c940
Reduce wait times and fix indentations
2019-07-03 22:17:36 +02:00
faizanahmad055
889b16718a
Add test cases
...
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
2019-02-18 10:20:52 +01:00
faizanahmad055
39944497f3
Implement golang-ci comment
...
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
2019-02-16 15:50:47 +01:00
faizanahmad055
6fb1266637
Initial implementation for init container support
...
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
2019-02-16 15:43:56 +01:00
Joey Espinosa
75b00733bf
feat: parameterize all annotations
2019-02-04 12:33:53 -05:00
faizanahmad055
333957d82a
Implemented golang CI comment
...
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
2019-01-31 16:32:47 +01:00
faizanahmad055
75f67ffa6e
Add support for envFrom for autoUpdate
...
Signed-off-by: faizanahmad055 <faizanahmad@217-212-164-26.customer.telia.com >
2019-01-31 16:03:53 +01:00
Faizan Ahmad
130741480e
Auto update referenced resource ( #45 )
...
* Add implementation for create event
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
* Add sleep in testcase
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
* Fix test case data
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
* Remove unnecessary dashes from chart
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
* Fix new env var creation issue
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
* Optimize upgrade code
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
* Update logs
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
* Initial implementation to perform rolling upgrades by auto referencing the resources
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
* Fix nil pointer exception
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
* Fix test cases
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
* Add test cases
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
* Update test case verify method
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
* Add missing name for envs
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
* Update annotation name
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
* Update readme
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
* Update readme
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
* Implement Golang CI comment
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
* Implement Golang CI comment
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com >
2019-01-25 14:00:21 +01:00
Faizan Ahmad
d3bae0d3bb
Optimize logging in reloader ( #19 )
...
* Optimize logging in reloader
* Fix test case failing issue
* Implement PR-19 review comments
* Place the log out of loop
* Fix change detection log
2018-08-02 11:17:35 +02:00
faizanahmad055
9d38927e4a
Increase test case timeout
2018-07-26 20:23:20 +05:00
faizanahmad055
2cac0cc713
Implement PR-2 review comments
2018-07-24 21:05:50 +05:00
faizanahmad055
5b467b731c
Revamp perform rolling method
2018-07-24 17:45:48 +05:00