Microk8s Ingress client_max_body_size

I’m using microk8s ingress add-on. I would like to add client_max_body_size to NGINX config map.
Can you please guide us how to add it in the config map?
Detailed description : To configure this setting globally for all Ingress rules, the proxy-body-size value may be set in the NGINX ConfigMap

Hi,

Did you find a solution, am also looking for the same

you can also apply per ingress annotations:

apiVersion: networking.k8s.io/v1
  kind: Ingress
  metadata:
    annotations:
      kubernetes.io/ingress.class: nginx
      nginx.ingress.kubernetes.io/proxy-body-size: "0"