Skip to content

NGF is reloading NGINX when there are no config changes #1664

Open
@ciarams87

Description

@ciarams87

Describe the bug
We are reloading after reconciling resources even when there is no accepted Gateway and no config being generated.

To Reproduce

Deploy a HTTPRoute referring to a Gateway that has not yet been created. Observe that NGINX config files are being regenerated and NGINX is reloaded.

Expected behavior
NGINX should not be reloaded when no NGINX config changes have occurred.

### Tasks
- [ ] https://github.com/nginxinc/nginx-gateway-fabric/issues/1577
- [ ] https://github.com/nginxinc/nginx-gateway-fabric/issues/1124
- [ ] https://github.com/nginxinc/nginx-gateway-fabric/issues/1123
- [ ] NGF is reloading NGINX for Secrets with no changes in the cert and key

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/performancePerformance relatedbacklogCurrently unprioritized work. May change with user feedback or as the product progresses.bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions