nginx-gateway-fabric
nginx-gateway-fabric copied to clipboard
Adding nginx_proxy access_log format ability
trafficstars
Proposed changes
Problem: As a user of NGF I want to have the ability to configure the log format of NGINX's access and error logs So that I can easily collect logs from NGINX in my logging platform.
Solution: Adding log_format and access_log fields to nginx-proxy CRD, also adding default values for them
Testing: TODO
Closes #1200
Checklist
Before creating a PR, run through this checklist and mark each as complete.
- [ ] I have read the CONTRIBUTING doc
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] I have checked that all unit tests pass after adding my changes
- [ ] I have updated necessary documentation
- [ ] I have rebased my branch onto main
- [ ] I will ensure my PR is targeting the main branch and pulling from my branch from my own fork
Release notes
If this PR introduces a change that affects users and needs to be mentioned in the release notes, please add a brief note that summarizes the change.