Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(api,controller): support files up to 1MiB on RpaasInstance extra files #121

Merged
merged 6 commits into from
Aug 4, 2022

Conversation

nettoclaudio
Copy link
Member

This PR adds a new property on RpaasInstance resources which allows refer files from different ConfigMaps in order to support greater files (up to 1MiB, see below what Kubernetes docs states). Leveraging this approach the user can set several files of 1MiB rather than all them capped on 1MiB.

A ConfigMap is not designed to hold large chunks of data. The data stored in a ConfigMap cannot exceed 1 MiB. If you need to store settings that are larger than this limit, you may want to consider mounting a volume or use a separate database or file service.

This PR left the old property rpaasinstance.spec.extraFiles to avoid breaking changes but we gonna drop it in a near future.

@nettoclaudio nettoclaudio merged commit ec6ef90 into tsuru:main Aug 4, 2022
@nettoclaudio nettoclaudio deleted the feat/large-extra-files branch May 31, 2023 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant