source-controller/internal
Max Jonas Werner 7a139647a2
add custom CA certificates to system certificates
When a custom CA certificate is provided in a Secret's `caCert` field
referenced in `HelmRelease.spec.secretRef` then that CA cert is now
added to the list of system certificates instead of it replacing the
system certificates. This makes HelmRepositories work in mixed
environments where charts are pulled from both, a public repository
and a private repository (e.g. through a chart dependency).

The test that is added as part of this change will fail without the
change and passes with it.

closes #866
closes fluxcd/helm-controller#519

Signed-off-by: Max Jonas Werner <max@e13.dev>
2022-09-23 10:57:00 +03:00
..
cache Enable dependency manager to use in memory cache 2022-04-19 11:46:27 +02:00
error Introduce Generic error and error Config 2022-05-20 19:52:03 +05:30
features libgit2: decommission unmanaged transport 2022-07-20 18:56:37 +05:30
fs test: use `T.TempDir` to create temporary test directory 2022-04-29 23:01:39 +08:00
helm add custom CA certificates to system certificates 2022-09-23 10:57:00 +03:00
mock mock/gcs: strip /storage/v1 URI element 2022-03-16 11:16:47 +01:00
object Make generic SummarizeAndPatch() 2022-02-23 12:35:30 +01:00
oci Refactor internal OCI package 2022-09-20 18:34:02 +03:00
predicates [RFC 0002] Flux OCI support for Helm (#690) 2022-05-19 14:50:16 +02:00
reconcile summarize: consider bipolarity in status condition 2022-09-22 15:42:53 +05:30
transport internal/helm/getter: remove transport reuse test 2022-06-14 09:25:52 +01:00
util Refactor internal OCI package 2022-09-20 18:34:02 +03:00