source-controller/internal/helm
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
..
chart allow for charts from OCI registries to specify a chart path 2022-08-08 15:44:43 +02:00
getter add custom CA certificates to system certificates 2022-09-23 10:57:00 +03:00
registry Enable contextual login for helm OCI 2022-08-25 22:27:35 +02:00
repository don't fetch tags when exact version is used in HelmRepository 2022-07-27 13:25:43 +02:00
testdata internal/helm: add remote builder tests 2021-11-19 17:04:00 +01:00
helm.go internal/helm: test load funcs for max size cases 2021-11-19 17:04:00 +01:00