B
B
bigazzzz2020-10-02 12:23:52
Nginx
bigazzzz, 2020-10-02 12:23:52

How to increase proxy-body-size in nginx-ingress installed via helm?

Hello!
Installed nginx-ingress controller. Installed via helm. I'm trying to increase the size of the POST request through annotations, by upgrading. I read that in the configmap in the annotation you need to add two values

nginx.ingress.kubernetes.io/proxy-body-size:"100m" \
nginx.org/client-max-body-size: "100m" \

I'm trying to fulfill
helm upgrade -n nginx-ingress ingress nginx-stable/nginx-ingress \
    --set controller.config.annotations.nginx.ingress.kubernetes.io/proxy-body-size=100m \
          --set controller.replicaCount=2 \
    --dry-run --debug

Falls out with a parsing error.
Can you tell me the correct syntax or can there be a simpler solution to the problem?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question