[bug]: `env.doc_upload_size_limit` does not correctly override `FILE_SIZE_LIMIT`
@pratapalakshmi is already working on this.
Since May 11, 2026.
- Dominant language
- TypeScript
- Stars
- 59.6k
- Forks
- 5.8k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 49
Description
Is there an existing issue for this?
- I have searched the existing issues
Current behavior
When setting doc_upload_size_limit through values.yaml, the document upload size limit does not appear to be applied correctly.
Example:
env:
doc_upload_size_limit: "104857600"
After rendering the Helm chart, the generated Secret/ConfigMap contains:
stringData:
FILE_SIZE_LIMIT: "5242880"
However, the effective upload size limit does not change as expected.
The limit only worked correctly after using file_size_limit instead:
env:
file_size_limit: "104857600"
So doc_upload_size_limit appears to either not map correctly to the effective FILE_SIZE_LIMIT, or it is being ignored in favor of file_size_limit.
Expected behavior
Setting this in values.yaml:
env:
doc_upload_size_limit: "104857600"
should correctly configure the effective file upload size limit.
The rendered value should match the configured value and be applied by the application:
stringData:
FILE_SIZE_LIMIT: "104857600"
Actual behavior
Using:
env:
doc_upload_size_limit: "104857600"
does not correctly override the effective upload size limit.
The limit only works when using:
env:
file_size_limit: "104857600"
Steps to reproduce
-
Deploy Plane using the Helm chart.
-
Set a custom document upload size limit in
values.yaml:
env:
doc_upload_size_limit: "104857600"
- Apply the Helm release:
helm upgrade --install plane-app <chart-name> \
--namespace plane \
-f values.yaml
- Check the rendered Secret/ConfigMap:
helm get manifest plane-app -n plane | grep -A 5 FILE_SIZE_LIMIT
-
Confirm that
FILE_SIZE_LIMITis not correctly replaced with the configureddoc_upload_size_limitvalue. -
Test uploading a file larger than the default limit.
-
Notice that the configured
doc_upload_size_limitis not applied. -
Change the configuration to use
file_size_limitinstead:
env:
file_size_limit: "104857600"
- Apply the Helm release again:
helm upgrade --install plane-app <chart-name> \
--namespace plane \
-f values.yaml
- Test the upload again and confirm that the custom size limit now works.
Workaround
Use file_size_limit instead of doc_upload_size_limit:
env:
file_size_limit: "104857600"
Suggested fix
The Helm value env.doc_upload_size_limit should correctly map to the effective FILE_SIZE_LIMIT value, or the documentation should be updated to indicate that env.file_size_limit is the correct setting to use.
For example, this configuration:
env:
doc_upload_size_limit: "104857600"
should render and apply:
stringData:
FILE_SIZE_LIMIT: "104857600"
Environment
Production
Browser
None
Variant
Self-hosted
Version
2.5.4
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.