Skip to content

fix: gateway router should wait for accepted condition #1791

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

steved
Copy link

@steved steved commented Apr 8, 2025

It can take some time for changes to propagate for cloud load balancers, so flagger should ensure the route changes are current before proceeding with any more.

I'm not considering observedGeneration optional due to the upstream language, but I'm not sure if it's truly guaranteed so if it's easier to make this behavior opt-in then I'm happy to add it.

Additionally, the upstream Conditions struct contains an optional
observedGeneration field - implementations MUST use this field and set it to
the metadata.generation field of the object at the time the status is generated.
This allows users of the API to determine if the status is relevant to the current
version of the object.

https://github.com/kubernetes-sigs/gateway-api/blob/v1.2.1/site-src/guides/implementers.md?plain=1#L156C1-L160C23

It can take some time for changes to propagate for cloud load balancers,
so flagger should ensure the route changes are current before proceeding
with any more.

Signed-off-by: Steven Davidovitz <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant