Commit Graph
96 Commits
Author SHA1 Message Date
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
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 ff5f28ba00 Add comments where needed 2019-07-04 11:00:52 +02:00
waseem df777332a9 Lint go 2019-07-04 10:56:17 +02:00
waseem 9f3c8379a6 Add IsOpenshift flag 2019-07-04 10:32:17 +02:00
waseem 9b48d320be Add check for openshift 2019-07-04 10:25:22 +02:00
waseem 6d8c0cf6cb Add controller tests and fixes 2019-07-04 09:58:58 +02:00
waseem 2dc7d20a37 Fix upgrade test cases 2019-07-04 09:58:49 +02:00
waseem 20d88e0668 Fix test cases 2019-07-04 09:58:33 +02:00
waseem de77785d4f Add support for DeploymentConfigs 2019-07-04 09:58:26 +02:00
waseem e06394c940 Reduce wait times and fix indentations 2019-07-03 22:17:36 +02:00
waseem 362ea70e26 Fix test cases 2019-07-03 22:14:36 +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
faizanahmad055 06aa382910 Initial implementation of fix for issue 61
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
2019-05-07 10:51:58 +02:00
irti 66f9b07817 [fix-config-change-logs-issue] fixed log statement placement 2019-04-25 14:19:52 +05:00
irti 40aa9955cd [fix-config-change-logs-issue] fixed the issue in create.go file 2019-04-25 14:16:42 +05:00
irti bfff7104aa [fix-config-change-logs-issue] logs issue fixed 2019-04-25 14:11:31 +05:00
faizanahmad055 0c340fcb48 Fix same name configmap and secret conflict
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
2019-02-18 12:09:53 +01:00
faizanahmad055 889b16718a Add test cases
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
2019-02-18 10:20:52 +01:00
faizanahmad055 512cbd8c85 Fix incorrect container update
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
2019-02-16 16:52:12 +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 95bd5e497f Use single container loop for envs
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
2019-02-01 12:06:18 +01: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 AhmadandRasheed Amir 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