-
Notifications
You must be signed in to change notification settings - Fork 645
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
Parameterization of the client_max_body_size directive in Nginx #2014
base: devel
Are you sure you want to change the base?
Conversation
@rooftopcellist I believe this is configurable through the AAP installer, so maybe makes sense to allow it here too |
Co-authored-by: Seth Foster <[email protected]>
Co-authored-by: Seth Foster <[email protected]>
I agree this should be added, and I fully expect the diff here to work. But I am torn because this same param is configurable in galaxy-operator, but there it is type string not an int that expects the "M" units on the end to be passed on the string. I think what you have here in this PR is the better approach, but the inconsistency across ansible operators may be confusing. We plan to create a new apiVersion for all of these operators to make a consistent parameter interface. When we do, we should modify the galaxy-operator to use this approach (int and adding on the units in the template). |
@fosterseth If you agree with this, feel free to merge next week. |
for me, it needs to be an integer. I'll push a new PR to change the parameter in the galaxy-operator so that we can keep the operator aligned. |
SUMMARY
This commit aims to parameterize an Nginx configuration that is currently hardcoded to 5M, causing issues with file uploads.
ISSUE TYPE
ADDITIONAL INFORMATION
With this change, it will be possible to set the value of the client_max_body_size directive during the creation of the AWX CR or modify an existing AWX instance running in the cluster.
The default value for the directive remains 5M.