source-controller/api/v1beta1
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
..
artifact_types.go storage: change Artifact checksum to SHA256 2021-08-10 10:30:06 +02:00
bucket_types.go Add ACL optional field to Source API 2021-08-12 10:04:35 +02:00
condition_types.go Consolidate condition types into `FetchFailed` 2021-08-10 22:15:06 +02:00
doc.go Change copyright to Flux authors 2020-10-27 17:54:22 +01:00
gitrepository_types.go Add ACL optional field to Source API 2021-08-12 10:04:35 +02:00
groupversion_info.go Change copyright to Flux authors 2020-10-27 17:54:22 +01:00
helmchart_types.go Add ACL optional field to Source API 2021-08-12 10:04:35 +02:00
helmrepository_types.go Rewrite `HelmRepositoryReconciler` to new standards 2021-08-12 11:47:56 +02:00
source.go source: `GetRequeueAfter` in place of `GetInterval` 2021-08-03 13:36:12 +02:00
zz_generated.deepcopy.go Add ACL optional field to Source API 2021-08-12 10:04:35 +02:00