Commit Graph
34 Commits
Author SHA1 Message Date
Alex Vest 488eaa9bef Run leadership election as non blocking
Liveness probe endpoint will always be blocking on the main thread
2022-10-04 16:41:34 +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
Alex Vest d34c99baf4 Add liveness probe 2022-10-04 16:41:34 +01:00
Alex Vest b7e83b74d8 Move leadership to its own package 2022-10-04 16:41:34 +01:00
Alex Vest 919f75bb62 Shutdown on leader election loss 2022-10-04 16:41:34 +01:00
Alex Vest 401d4227d1 Move consts to const pkg
Should move leadership bits to own pkg?
2022-10-04 16:41:34 +01:00
Alex Vest 7f9f32ca58 Add leadership election 2022-10-04 16:41:34 +01:00
faizanahmad055 b5b684c67b Fix reload on create flag
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
2022-02-19 23:23:33 +01:00
faizanahmad055 61ce150d7c Make reload on create optional
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
2022-02-13 19:53:49 +01:00
aenima4six2 dfe7e9b3ca 176 - Add reload strategies to support pod annotation templates 2021-10-17 19:09:50 -04:00
faizanahmad055 344004d0b3 Make argo rollouts optional
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
2021-03-22 11:30:22 +01:00
Vlad Losev e81b49d81b Renames search annotation. 2020-06-09 19:16:03 -07:00
Vlad Losev 17f8b81110 Simplifies annotations for searching secrets for reload. 2020-06-09 19:16:03 -07:00
Vlad Losev fda733ea5a Adds support for auto-reloading secrets and configmaps by annotation. 2020-06-09 19:14:14 -07:00
katainaka0503 3fe7ad04e9 Implement prometheus endpoint 2020-03-01 21:56:02 +09:00
Anthony Stanton 55bc4c3e22 JSON logging 2020-01-02 22:10:41 +01:00
waseem a10b2fa747 Add support for ignoring namespaces 2019-10-14 14:14:40 +02:00
waseem 16d75d1d47 Fix merge conflicts 2019-07-05 12:24:46 +02:00
waseem 878bc5c442 Refactor Openshift detection 2019-07-05 12:23:14 +02:00
hstanley 795de2399b Fail if user tries to ignore all resource types 2019-07-04 10:21:19 +01:00
waseem de77785d4f Add support for DeploymentConfigs 2019-07-04 09:58:26 +02:00
hstanley 3e6c4a3f60 Switch from list of resources to monitor to list of resources to ignore 2019-07-03 16:01:15 +01:00
hstanley 361bea4373 move List to util.go 2019-07-03 10:32:33 +01:00
hstanley 59fd71d15f Add 'resources-to-watch' flag 2019-07-02 14:09:27 +01:00
hstanley 6c6776f2b4 Optionally disable checking k8s Secrets 2019-07-02 11:51:14 +01:00
Joey Espinosa 75b00733bf feat: parameterize all annotations 2019-02-04 12:33:53 -05:00
faizanahmad055 b17ab76a24 Update start controller log
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
2019-01-10 18:34:23 +05:00
faizanahmad055 21fec1c4b9 Fix logrus usage 2018-07-17 12:55:56 +05:00
faizanahmad055 14f9570a04 Add resource handler to handle rolling updates 2018-07-13 19:01:04 +05:00
faizanahmad055 bf34e3a691 Implement PR-1 code review comments 2018-07-12 15:04:51 +05:00
faizanahmad055 848745f40a Implement PR-1 review comments 2018-07-11 20:20:48 +05:00
faizanahmad055 0004271e34 Remove unused config from reloader 2018-07-10 14:35:14 +05:00
faizanahmad055 b79f90e709 Update controller to remove unnecessary code 2018-07-09 20:23:15 +05:00
faizanahmad055 5920890fa3 Added initial implementation to detect changes 2018-07-06 20:26:29 +05:00