janus-idp / backstage-showcase

Enterprise-ready Backstage distribution

Home Page:https://showcase.janus-idp.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add documentation about Zib-bomb detection file size threshold.

davidfestal opened this issue · comments

What do you want to improve?

What is the current documentation?

Nothing is mentioned for now

What is the new documentation?

In some cases, some dynamic plugins that should be installed might contain some large files, which might considered by the installation script (at POD start) as potential Zib-Bombs.
If they are detected as Zib-Bombs, the installation will fail.
In order to increase the maximum size of a file inside a package archive, you can do it by increasing the value of the MAX_ENTRY_SIZE environment value of the deployment install-dynamic-plugins initContainer.
Default value, expressed in bytes is 20000000 (about 20 MB).

This sounds like a known issue for the Release Notes.

This sounds like a known issue for the Release Notes.

@Gerry-Forde
Could we please link this issue with the release notes JIRA to centralize all information in one place?

I'm not sure I see that as an known issue.
To me it seems more like an advanced configuration option with a default value that fits all the plugins embedded as part of the showcase container image.