source-controller/internal/helm/repository
Max Jonas Werner b86572b98e
don't fetch tags when exact version is used in HelmRepository
Taking this shortcut has two benefits:

1. It allows charts to be fetched from AWS's public container registry
   at public.ecr.aws
2. It makes reconciling a HelmChart faster by skipping one or more
   potentially expensive API calls to the registry.

I adapted the unit tests to the new behavior that the
OCIChartRepository doesn't fail anymore for the case where a specific
chart version has been requested that doesn't actually exist in the
registry.

refs #845

Signed-off-by: Max Jonas Werner <max@e13.dev>
2022-07-27 13:25:43 +02:00
..
chart_repository.go Enable remote dependencies from OCI repositories 2022-07-06 19:11:01 +02:00
chart_repository_test.go feat: cache helmrepo early after reconcile 2022-07-21 18:17:26 +01:00
oci_chart_repository.go don't fetch tags when exact version is used in HelmRepository 2022-07-27 13:25:43 +02:00
oci_chart_repository_test.go don't fetch tags when exact version is used in HelmRepository 2022-07-27 13:25:43 +02:00
repository.go Enable remote dependencies from OCI repositories 2022-07-06 19:11:01 +02:00
utils.go Fix SIGSEGV when resolving charts dependencies 2022-07-13 14:59:38 +02:00
utils_test.go Enable remote dependencies from OCI repositories 2022-07-06 19:11:01 +02:00