containers icon indicating copy to clipboard operation
containers copied to clipboard

[bitnami/nginx-ingress-controller] Add JSON Support to nginx-ingress-controller

Open denisrohr opened this issue 1 year ago • 1 comments

Name and Version

bitnami/nginx-ingress-controller:1.8.1

What is the problem this feature will solve?

I want to use JSON output in ModSecurity:

SecRuleEngine DetectionOnly
SecAuditLogFormat JSON
SecAuditLog /dev/stdout

But get an error that nginx was compiled without JSON support.

What is the feature you are proposing to solve the problem?

Add the yajl-dev apk when building the base package that ends up in https://downloads.bitnami.com/files/stacksmith/nginx-ingress-controller-1.8.1-2-linux-amd64-debian-11.tar.gz Nginx compile should find yajl on its own. See https://github.com/kubernetes/ingress-nginx/blob/d45a0c3287247120865306657c6a195a52e95a85/images/nginx/rootfs/build.sh#L184

No idea how and where your binary blob gets build. I couldn't find the repo containing the corresponding build code, so I create this issue here. Also add yajl apk when building the docker image in this repo.

What alternatives have you considered?

Using this https://github.com/kubernetes/ingress-nginx/tree/main

denisrohr avatar Sep 04 '23 16:09 denisrohr

Hi!

Thank you so much for opening the ticket. I forwarded it to the engineering team. As soon as there are news, we will update this ticket.

javsalgar avatar Sep 05 '23 08:09 javsalgar