-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Add annotation for client-body-buffer-size per location #1186
Conversation
317ffe5
to
53bf1c5
Compare
d4f9948
to
8caeb5b
Compare
Coverage increased (+0.03%) to 44.509% when pulling 8caeb5b2862b7af9e5e90b137e07a0c0015b0bca on diazjf:client-body-buffer-size into 7010627 on kubernetes:master. |
8caeb5b
to
ff83a35
Compare
Currently only working on creation, but update is not configuring the Annotation name was changed to |
If invalid value is provided ingress-controller will fail as follows:
Would this be expected behavior? |
Coverage decreased (-0.02%) to 44.398% when pulling ff83a357181a90a36814ce0236e5a4b6acf63fa5 on diazjf:client-body-buffer-size into a0e4661 on kubernetes:master. |
ff83a35
to
30d4cca
Compare
@aledbf two questions: 1.) Do annotation values regularly need validation, for example in
2.) Should the location parameter for Thanks again and have a good night! |
Coverage decreased (-0.02%) to 44.363% when pulling 30d4ccac3b2332c729e84d14194841bb2d460907 on diazjf:client-body-buffer-size into 6ef6343 on kubernetes:master. |
1.) yes, we need to add that feature but not in this PR :) 2.) this is done each time the sync loop is executed |
Adds an annotation which allows for client-body-buffer-size to be configured per specific locations specified in the ingress resource yaml.
Ingress Resource YAML:
produces https://pastebin.com/0eSbjHfx in which you can see that It also updates each time a change is made. |
30d4cca
to
e9ffbf0
Compare
@aledbf ready for review. My only question is if |
No, only the the paths in the ingress. |
/lgtm |
@diazjf thanks! |
Adds an annotation which allows for client-body-buffer-size to
be configured per specific locations specified in the ingress
resource yaml. Fixes #826