Commit Graph
127 Commits
Author SHA1 Message Date
faizanahmad055 aafe3365eb Update log level
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
2022-11-30 22:34:02 +01:00
faizanahmad055 d1cb53b65a Update go version and dependencies
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
2022-11-30 21:31:59 +01:00
Alex Vest 1c7190884a Merge branch 'master' into leadership-election 2022-10-06 11:17:35 +01:00
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 72a1c59cac Err check response writer 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
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
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
Waleed Malik 953cbe9d28 Reload resource if secret/configmap is re-created 2021-07-30 10:24:50 +05: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 78be58b090 Do not log content of secrets 2021-04-21 16:12:53 +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
Waleed Malik aaddec1103 Skip failing test cases 2021-01-26 12:59:49 +05:00
Waleed Malik b5fdcd577d Refactor controller test cases 2021-01-26 12:04:40 +05:00
talha0324 fde312edcc Update golang code lint errors 2021-01-19 15:54:30 +05:00
faizanahmad055 21dbeb9810 Remove redundant reload on resource creation
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
2021-01-08 17:28:50 +01:00
Júlia BiróandGitHub ed6ea026a8 Trim spaces in annotation list (#165)
* strip whitespace

* only trim spaces
2020-09-22 15:29:29 +02:00
Josh SorefandGitHub 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
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 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
Vlad Losev ff27cc0f51 Simplifies test. 2020-06-09 19:17:19 -07: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 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 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 HoangandQuan Hoang d4223311de Support projected volume 2020-06-02 23:36:08 +07:00
katainaka0503 3fe7ad04e9 Implement prometheus endpoint 2020-03-01 21:56:02 +09:00
aure-olliandGitHub 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
Anthony Stanton 55bc4c3e22 JSON logging 2020-01-02 22:10:41 +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 6ec1f9add8 Use go modules 2019-10-15 07:58:12 +02:00
waseem aee5d84f45 Add to update method 2019-10-14 14:20:17 +02:00
waseem a10b2fa747 Add support for ignoring namespaces 2019-10-14 14:14:40 +02:00
waseem 4822dbae86 Remove GetClient from testutil 2019-07-05 12:30:11 +02:00