source-controller icon indicating copy to clipboard operation
source-controller copied to clipboard

Introduce artifact max size limit of 50MiB

Open stefanprodan opened this issue 1 year ago • 0 comments

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.

⚠️ Breaking change

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.

Closes: #901

stefanprodan avatar Oct 10 '22 14:10 stefanprodan