source-controller/controllers
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
..
testdata Add tests for reconcile delete 2022-08-02 13:11:08 +03:00
artifact.go Introduce `artifactSet` to replace `hasArtifactUpdated` 2022-02-23 12:35:30 +01:00
artifact_matchers_test.go Implement Size field on archived artifacts 2022-02-28 16:01:34 +01:00
artifact_test.go Introduce `artifactSet` to replace `hasArtifactUpdated` 2022-02-23 12:35:30 +01:00
bucket_controller.go controllers: Remove ctx overwrite 2022-09-04 18:56:02 +05:30
bucket_controller_fetch_test.go test: use `T.TempDir` to create temporary test directory 2022-04-29 23:01:39 +08:00
bucket_controller_test.go Log on new artifact and failure recovery 2022-06-03 15:58:19 +03:00
gitrepository_controller.go Use bipolarity option in gitrepo and ocirepo 2022-09-22 15:42:53 +05:30
gitrepository_controller_test.go gitrepo: update reconciler to be injected with transport initialization knowledge 2022-07-20 18:56:37 +05:30
helmchart_controller.go secretRef take precedence over provider 2022-09-09 14:43:35 +02:00
helmchart_controller_test.go secretRef take precedence over provider 2022-09-09 14:43:35 +02:00
helmrepository_controller.go controllers: Remove ctx overwrite 2022-09-04 18:56:02 +05:30
helmrepository_controller_oci.go Handle nil OCI authenticator with malformed registry 2022-09-13 19:53:41 +02:00
helmrepository_controller_oci_test.go Handle nil OCI authenticator with malformed registry 2022-09-13 19:53:41 +02:00
helmrepository_controller_test.go add custom CA certificates to system certificates 2022-09-23 10:57:00 +03:00
ocirepository_controller.go ocirepo: Fix event trace type value 2022-09-22 15:42:53 +05:30
ocirepository_controller_test.go Add tests for keyless verification 2022-09-22 12:25:40 +03:00
source_predicate.go Switch to v1beta2 API package 2022-02-23 12:35:25 +01:00
storage.go Use sourceignore from fluxcd/pkg 2022-08-17 18:04:48 +03:00
storage_test.go test: use `T.TempDir` to create temporary test directory 2022-04-29 23:01:39 +08:00
suite_test.go secretRef take precedence over provider 2022-09-09 14:43:35 +02:00