source-controller/internal/helm
Hidde Beydals 49639638b9 Rewrite `HelmRepositoryReconciler` to new standards
This commit rewrites the `HelmRepositoryReconciler` to new standards,
while implementing the newly introduced Condition types, and trying to
adhere better to Kubernetes API conventions.

More specifically it introduces:

- Implementation of more explicit Condition types to highlight
  abnormalities.
- Extensive usage of the `conditions` subpackage from `runtime`.
- Better and more conflict-resilient (status)patching of reconciled
  objects using the `patch` subpackage from runtime.
- Proper implementation of kstatus' `Reconciling` and `Stalled`
  conditions.
- Refactoring of some Helm elements to make them easier to use within
  the new reconciler logic.
- Integration tests that solely rely on `testenv` and do not
  use Ginkgo.

There are a couple of TODOs marked in-code, these are suggestions for
the future and should be non-blocking.
In addition to the TODOs, more complex and/or edge-case test scenarios
may be added as well.

Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-08-12 11:47:56 +02:00
..
testdata Move Helm dependency manager to `helm` package 2020-11-19 09:50:50 +01:00
chart.go Fix HelmChart valuesFile chart path restriction 2020-12-17 12:57:41 +02:00
chart_test.go Fix HelmChart valuesFile chart path restriction 2020-12-17 12:57:41 +02:00
dependency_manager.go Copy loop iterator var for use by goroutine 2021-02-18 01:39:07 +01:00
dependency_manager_test.go Drop deprecated `io/ioutil` 2021-07-29 09:58:00 +02:00
getter.go Rewrite `HelmRepositoryReconciler` to new standards 2021-08-12 11:47:56 +02:00
getter_test.go Rewrite `HelmRepositoryReconciler` to new standards 2021-08-12 11:47:56 +02:00
repository.go Rewrite `HelmRepositoryReconciler` to new standards 2021-08-12 11:47:56 +02:00
repository_test.go Drop deprecated `io/ioutil` 2021-07-29 09:58:00 +02:00
utils.go Change copyright wording to accomodate convention 2020-10-28 18:08:44 +02:00