helm-controller/controllers
Hidde Beydals 34d87ccc24
kube: unify clients into single RESTClientGetter
This drops the twofold implementation in favor of a single
`MemoryRESTClientGetter` which can work with an arbitrary `rest.Config`.

The new `MemoryRESTClientGetter` lazy-loads and caches the objects it
initializes, thereby creating at most one instance of each object for
the duration of the reconcile of a single `HelmRelease` object.

Based on some initial tests, this seems to reduce the overal memory
footprint of the controller.

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-03-06 11:21:18 +01:00
..
helmrelease_controller.go kube: unify clients into single RESTClientGetter 2023-03-06 11:21:18 +01:00
helmrelease_controller_chart.go Add cosign verification to the chart Template 2022-10-21 16:18:02 +02:00
helmrelease_controller_chart_test.go Add cosign verification to the chart Template 2022-10-21 16:18:02 +02:00
helmrelease_controller_fuzz_test.go build: Improve fuzz tests' reliability 2022-11-23 14:57:23 +00:00
helmrelease_controller_test.go build: Improve fuzz tests' reliability 2022-11-23 14:57:23 +00:00
source_predicate.go Support RFC-0005 revision format 2023-02-16 17:10:08 +01:00
suite_test.go Add validation to TargetPath and ValuesKey 2022-08-17 14:30:35 +01:00