-
Notifications
You must be signed in to change notification settings - Fork 40.2k
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
Application yaml files cannot be loaded when they exceed 3mb #34743
Comments
Have you considered splitting your 5MB+ configuration files up a bit? It would work around this limitation while also perhaps making them easier to read. Having split them up, you'd use |
@wilkinsona - Spinnaker uses yaml files containing cloud provider (kubernetes, google cloud, azure, aws etc) account info to load required details. All the accounts of a particular type(say kubernetes) are configured as an array under |
@wilkinsona I would like to work on the PR. Can you give some pointers on how to make use of custom configuration in this scenario? |
@kirangodishala The issue is currently tagged with |
I think we can increase our limits. The |
I am from Spinnaker community and we are in the process of upgrading Spring and Springboot versions. But with the yaml file size limitation introduced in snakeyaml-1.32 we can't upgrade to Springboot 3.0.x as it uses snakeyaml-1.33 and we have many users with configuration files > 5MB size. The default file size limit of 3MB in snakeyaml can be overriden but Springboot uses the default LoaderOptions with no configurable value to override LoaderOptions.codePointLimit.
We are looking for a configurable option to set the yaml file size limit within Springboot.
The text was updated successfully, but these errors were encountered: