24 Commits

Author SHA1 Message Date
Rob Watson
154a13ecfc tests: Replace struct with closure
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-12 22:06:07 +02:00
Rob Watson
bf49105619 podWatcher: handle removed pods
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-12 15:26:27 +02:00
Rob Watson
397708336d drone.yml: use go test -race
Some checks failed
continuous-integration/drone/push Build is failing
2022-06-11 07:33:27 +02:00
Rob Watson
3288b488d3 Tidy 2022-06-11 07:20:28 +02:00
Rob Watson
be99d25fb2 podWatcher: prefer channel for synchronization
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-11 07:13:42 +02:00
Rob Watson
5ebeabd3c1 Handle namespace
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-10 21:38:38 +02:00
Rob Watson
b1a8a75bdb Configure debug logging
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-10 19:04:52 +02:00
Rob Watson
12530471d0 Add build script and basic versioning
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-09 20:56:44 +02:00
Rob Watson
ca822496b0 Support other resource types
All checks were successful
continuous-integration/drone/push Build is passing
Use the untyped k8s client to enable support for statefulsets and
replicasets as well as deployments. The typed client is retained for
usage inside pod_watcher.go.
2022-06-09 20:21:07 +02:00
Rob Watson
f8c59aeb15 config: prefer *rest.Config
All checks were successful
continuous-integration/drone/push Build is passing
This config implementation correctly picks up non-default contexts.
2022-06-07 21:16:37 +02:00
Rob Watson
6e09e4bf20 Reduce test flakiness 2022-06-07 21:15:04 +02:00
Rob Watson
59a9335017 watcher: handle closed channel
All checks were successful
continuous-integration/drone Build is passing
continuous-integration/drone/push Build is passing
2022-06-04 02:27:20 +02:00
Rob Watson
0827693801 podWatcher: handle closed channel
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-03 22:20:23 +02:00
Rob Watson
d5835821c5 podWatcher: add test coverage
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-02 19:23:47 +02:00
Rob Watson
3639b43260 Rename variable 2022-06-02 19:23:44 +02:00
Rob Watson
7e74fb6f08 Refactor stream error handling 2022-06-02 19:23:41 +02:00
Rob Watson
2ea2ebe836 Tweak CLI interface
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-01 22:04:20 +02:00
Rob Watson
7f10c6a2c2 Improve error handling 2022-06-01 22:04:02 +02:00
Rob Watson
0b0db0ee8f Add per-deployment watcher
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-01 19:19:55 +02:00
Rob Watson
11cc2d6709 Refactor, add container argument
All checks were successful
continuous-integration/drone Build is passing
2022-05-31 06:11:44 +02:00
Rob Watson
ae1b699d76 Add .drone.yml 2022-05-30 12:16:21 +02:00
Rob Watson
4f6b2d1550 Add basic test coverage 2022-05-30 12:10:58 +02:00
Rob Watson
d38f31c3d9 Initial iteration 2022-05-29 21:04:02 +02:00
Rob Watson
1dfdeef7e8 Initial commit 2022-05-25 23:40:52 +02:00