• Geoff Simmons's avatar
    Fix intermittent failures to update Ingress.Status.LoadBalancer. · dd46b1e4
    Geoff Simmons authored
    This almost always happens because the API server's current version
    of the Ingress has a newer ResourceVersion than the controller's
    cached copy. Sometimes it happens during e2e tests when the Ingress
    has already been deleted but the worker queue has not caught up.
    
    Make one attempt to fetch a fresh copy of the Ingress from the API
    server, and if necessary, update the LoadBalancer field for the
    fresh version.
    
    Inspired by the nginx ingress' solution to this problem.
    dd46b1e4
Name
Last commit
Last update
charts Loading commit data...
cmd Loading commit data...
container Loading commit data...
deploy Loading commit data...
docs Loading commit data...
examples Loading commit data...
hack Loading commit data...
pkg Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.kind-gitlab.yaml Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
go.mod Loading commit data...
go.sum Loading commit data...