Ingress-nginx: ingress.kubernetes.io/proxy-body-size ignored in 0.9.0

Created on 30 Dec 2017  路  1Comment  路  Source: kubernetes/ingress-nginx

NGINX Ingress controller version:

0.9.0

Kubernetes version (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.0", GitCommit:"925c127ec6b946659ad0fd596fa959be43f0cc05", GitTreeState:"clean", BuildDate:"2017-12-15T21:07:38Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.0", GitCommit:"925c127ec6b946659ad0fd596fa959be43f0cc05", GitTreeState:"clean", BuildDate:"2017-12-15T20:55:30Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"linux/amd64"}

Environment:

  • Cloud provider or hardware configuration: HW via kubeadm
  • OS centos/7

What happened:

ingress.kubernetes.io/proxy-body-size annotation ignored,

What you expected to happen:

ingress.kubernetes.io/proxy-body-size annotation changing the client_max_body_size vhost setting

How to reproduce it (as minimally and precisely as possible):

Set ingress.kubernetes.io/proxy-body-size annotation to custom value and it is not represented in config, thats it.

Anything else we need to know:

Works fine in 0.9.0-beta.17

Most helpful comment

@alvaroaleman the annotation ingress.kubernetes.io/proxy-body-size must be changed to nginx.ingress.kubernetes.io/proxy-body-size

Please check https://github.com/kubernetes/ingress-nginx/releases/tag/nginx-0.9.0

>All comments

@alvaroaleman the annotation ingress.kubernetes.io/proxy-body-size must be changed to nginx.ingress.kubernetes.io/proxy-body-size

Please check https://github.com/kubernetes/ingress-nginx/releases/tag/nginx-0.9.0

Was this page helpful?
0 / 5 - 0 ratings