Commit Graph

42 Commits (master)

Author SHA1 Message Date
Imran Ismail 611ff29997
feat: Allow poll trigger to work with glob and regexp (#745) 2024-11-06 11:46:37 +01:00
David 10acf52919
New keel.sh/monitorContainers annotation to allow explicitly setting which containers should be monitored (#777)
* Added new keel.sh/monitorContainers annotation to allow providing an explicit regular expression that will filter which containers Keel will interact with. If left empy, it will preserve previous behaviour (all containers).
* Support for debug parameters: Context and MasterUrl
2024-11-05 19:20:03 +01:00
David d9bed83ff6
Initial fixes
Minimal refactor and fixes:

* Add dockerignore file to re-use already built images
* Add Image Pull Secrets to Deployment Template (https://github.com/keel-hq/keel/pull/758)
* Update Go Version to 1.21 (https://github.com/keel-hq/keel/pull/751)
* Added Github Workflow to use the Github repository as a Helm Chart Repository through Github Pages
* Create debug container to allow GO remote debugging
* Add integration with Azure Pipelines
* Add compose files to setup local development containers
2024-11-04 20:02:58 +01:00
Joe Bowbeer ee938a7b82 add unit tests 2023-08-09 03:46:49 +00:00
Joe Bowbeer 7ff089371b feat: initContainers 2023-08-01 05:13:33 -07:00
Ian bc14e01e9d
Build with kube 1.24 (#1)
* Build with kubernetes 1.24 libraries

* Try to resolve circle build error

* Fix build warnings

* Update test parser to use modern command install method

* Attempt to pass helm chart testing

* Correct testing kube version

* Update go version used by the drone ci

* Remove beta versions from templetes
2023-03-01 11:51:58 -05:00
NicolasLemince 75be0aba81
Update watcher.go 2021-06-14 14:15:53 +02:00
Nicolas 548693276a Adding the good constant + env 2021-05-20 14:20:36 +02:00
Nicolas 02294b630a Conditionning watcher regarding RESTRICTED_NAMESPACE env var 2021-05-17 17:13:34 +02:00
maxgio92 9b1d37faf8 fix(/internal/policy/regexp.go): split regexp policy into strings only
Signed-off-by: maxgio92 <massimiliano.giovagnoli.1992@gmail.com>
2021-04-13 13:16:08 +02:00
Michael McCallum b42d7a2e97 Allow 2 point versions in images:
We only use 2 points X.Y always unless there is really a patch which is extremely uncommon.
Developers choose the X and tooling chooses the Y. That is the developers only ever have to make a simple decision did I break it or not.

* these are still semver but just treat the patch as optional
* add tests for various combinations of updates
2020-06-29 14:17:47 +12:00
Aurélien Grenotton d3c1ee82d3 Add SemVer pre-release handling
Previously, SemVer pre-release version was used to differentiate kind
of "branches", not allowing to cross pre-release on update.
According to SemVer spec, this should rather rely on the metadata.
New "keel.sh/matchPreRelease" annotation (or label) is added to disable
current keel behavior and consider the pre-release as a standard
SemVer versioning token.
For backward compatibility purpose, its value defaults to "true" if not
specified.
Closes #252

Also reviewed WatchRepositoryTagsJob tags handling.
Fixes #490
2020-04-19 01:36:21 +02:00
Karolis Rusenas 0583b012cd getting status 2019-05-23 23:17:33 +01:00
Karolis Rusenas ad737b69be fixed approvals 2019-05-09 16:57:25 +01:00
Mate Ory 7f6851e854
policy: allow explicitly selecting NilPolicy
this makes it easier to temporarily disable keel on a resource

Signed-off-by: Mate Ory <mate.ory@banzaicloud.com>
2018-12-06 14:17:54 +01:00
Karolis Rusenas d07b9104f3 test for number only issue 2018-12-01 22:17:47 +00:00
Karolis Rusenas 30221938c8 don't parse versions that don't look like semver 2018-12-01 22:17:32 +00:00
Karolis Rusenas 7ac34178ec tests for glob policy 2018-11-11 11:38:38 +00:00
Karolis Rusenas 27814f2b58 #295 don't error on each helm release without the keel cfg, more info if policy is unknown 2018-11-07 23:27:05 +00:00
Karolis Rusenas 56c2eaf435 checking trigger type and policy in the annotations as well 2018-11-07 23:16:09 +00:00
Karolis Rusenas 701f417741 policy parse tests 2018-09-04 21:25:44 +01:00
Karolis Rusenas 4e50f7ecdd get policy test moved 2018-09-04 21:10:57 +01:00
Karolis Rusenas 49bfb262e5 making it testable 2018-09-02 21:18:43 +01:00
Karolis Rusenas dfe21c5fc0 semver tests 2018-09-02 21:07:44 +01:00
Karolis Rusenas 47afdbd680 semver policy type 2018-09-02 18:57:25 +01:00
Karolis Rusenas 3819aae4b5 regexp policy 2018-09-02 16:32:11 +01:00
Karolis Rusenas 83f2c249ea policy refactoring 2018-09-02 16:31:22 +01:00
Karolis Rusenas 25fa0e33a2 #251 initial work on cron job support 2018-08-29 15:48:08 +01:00
Karolis Rusenas 6ac124dc93 checking private channels (groups) for approval channel 2018-06-03 12:20:52 +01:00
Karolis Rusenas 1a69c21f13 reducing noise 2018-04-30 11:26:58 +01:00
Karolis Rusenas 1ef5c89e2c deep copy 2018-04-30 11:26:49 +01:00
Karolis Rusenas 5530126229 cache should return deep copies 2018-04-30 11:26:43 +01:00
Karolis Rusenas b4003ae693 gr fixes 2018-04-24 09:26:45 +01:00
Karolis Rusenas 2ac1790a81 test updates, cleanup 2018-04-20 18:58:01 +01:00
Karolis Rusenas 83de5c83f6 daemonset and statefulset conversion tests 2018-04-17 09:08:18 +01:00
Karolis Rusenas 4e9d188bc5 wg 2018-04-17 08:52:07 +01:00
Karolis Rusenas 8d05fe1a4b cache control 2018-04-17 08:51:59 +01:00
Karolis Rusenas 980860c025 initial tests 2018-04-17 08:51:17 +01:00
Karolis Rusenas e8608673e1 generic resource to abstract k8s internal types 2018-04-17 08:51:12 +01:00
Karolis Rusenas fdc4bdebd6 helper funcs 2018-04-17 08:50:53 +01:00
Karolis Rusenas 88b7a1df53 generic resource cache 2018-04-17 08:50:45 +01:00
Karolis Rusenas 8787ec285a resource watchers 2018-04-17 08:50:12 +01:00