You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, it looks like the default value from the configmap was used regardless of the annotation when upgrading to the new container and nginx.tmpl, and when applying an annotation to a single Ingress, the value is seen in all Ingresses.
The text was updated successfully, but these errors were encountered:
juissi-t
changed the title
Annotation in an Ingress resource overwriting value defined in ConfigMap (and perhaps vice versa)
Annotation in an Ingress resource overwriting default value defined in ConfigMap for all Ingresses (and perhaps vice versa)
Oct 5, 2017
More info: I tried to reproduce this in another cluster, and can't get the annotation to be seen in any of the ingresses. All of them have 10m as the client_max_body_size and deleting and applying or re-applying the Ingress resource doesn't do anything.
Our ConfigMap for nginx-ingress-controller looks like this:
We use an annotation in one of our Ingress resources to use a different value for
proxy-body-size
:When using nginx-0.9.0-beta.11, the value looks like this in
nginx.conf
:We upgraded to nginx-0.9.0-beta.14 and the result was this:
I then re-applied the Ingress resource, and now it looks like this:
So, it looks like the default value from the configmap was used regardless of the annotation when upgrading to the new container and
nginx.tmpl
, and when applying an annotation to a single Ingress, the value is seen in all Ingresses.The text was updated successfully, but these errors were encountered: