source-controller/controllers
Stefan Prodan 3168bb6051
Introduce artifact max size limit of 50MiB
Add a controller flag named "--artifact-max-size=<bytes>" with the default value of 50MiB.
To disable the limit, the value can be set to "--artifact-max-size=-1".
The flag enforces a max size limit for the artifact contents produced by source-controller,
to avoid out-of-memory crashes of consumers such as kustomize-controller.

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-10-11 17:53:52 +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 Bucket: Add status.observedIgnore 2022-10-10 23:06: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 update dependencies 2022-10-11 19:08:44 +05:30
gitrepository_controller.go GitRepo: Add observed content config in status 2022-10-10 23:06:02 +05:30
gitrepository_controller_test.go update dependencies 2022-10-11 19:08:44 +05:30
helmchart_controller.go secretRef take precedence over provider 2022-09-09 14:43:35 +02:00
helmchart_controller_test.go Introduce artifact max size limit of 50MiB 2022-10-11 17:53:52 +03: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 update dependencies 2022-10-11 19:08:44 +05:30
helmrepository_controller_test.go update dependencies 2022-10-11 19:08:44 +05:30
ocirepository_controller.go OCIRepo: Add observed content config in status 2022-10-10 23:06:02 +05:30
ocirepository_controller_test.go update dependencies 2022-10-11 19:08:44 +05:30
source_predicate.go Switch to v1beta2 API package 2022-02-23 12:35:25 +01:00
storage.go Introduce artifact max size limit of 50MiB 2022-10-11 17:53:52 +03:00
storage_test.go Introduce artifact max size limit of 50MiB 2022-10-11 17:53:52 +03:00
suite_test.go Introduce artifact max size limit of 50MiB 2022-10-11 17:53:52 +03:00