I would like to create my own log_format for all access logs. But I’m trying to find a way to do it without having to create my own kong image.
I tried creating a ConfigMap of nginx.conf and adding my own log_format in it… But nginx is having a hard time with chown:
chown: /usr/local/kong/nginx.conf: Read-only file system
For NGINX Ingress controller, it is possible to be done using the ConfigMap
nginx-configuration and the data: