Nginx modified nginx.conf

helm

#1

Hi everyone,

i have a question about nginx that have come in one package when using helm install command,
is there any best practice or something that i can do, to modified nginx.conf that were inside the kubernetes it self, i have try to edit what inside nginx.conf using Config Map, but it looks like it doesn’t effect anything(it’s not updating value inside the nginx.conf) and rather it just getting an error,

apiVersion: v1
kind: ConfigMap
metadata:
  labels:
     app: nginx-ingress
     chart: nginx-ingress-0.28.3
     component: controller
     heritage: Tiller
     release: ranting-ladybug   **nginx controller that were being generate after helm install**
    name: ranting-ladybug-nginx-ingress-controller
    namespace: kube-system
data:
  http-snippet: |      **and this is the data that i want to update inside nginx.conf**
    proxy_buffer_size   512k;
    proxy_buffers   4 256k;
    proxy_busy_buffers_size   256k;
    large_client_header_buffers 4 16k;

this is what inside my Config Map .yaml, i would like to hear some advice from you guys or a better practice for this kind of work…

thanks.