Skip to content

Fix RouterInterface status when Router is not Available - #863

Open
IlanZuckerman wants to merge 1 commit into
k-orc:mainfrom
IlanZuckerman:fix-routerinterface-status-when-router-not-ready
Open

Fix RouterInterface status when Router is not Available#863
IlanZuckerman wants to merge 1 commit into
k-orc:mainfrom
IlanZuckerman:fix-routerinterface-status-when-router-not-ready

Conversation

@IlanZuckerman

@IlanZuckerman IlanZuckerman commented Jul 27, 2026

Copy link
Copy Markdown

When a Router exists but is not yet Available, the routerinterface controller returned early without writing RouterInterface status, leaving .status empty and hard to diagnose.

Today, if the Router is missing we write a helpful status on RouterInterfaces.
If the Router exists but is not ready we write nothing.
This change makes the not-ready case also write status: “Waiting for Router/ to be ready.”

Add a KUTTL test covering this scenario.
Fixes #838

When a Router exists but is not yet Available, the routerinterface
controller returned early without writing RouterInterface status,
leaving .status empty and hard to diagnose.
Mirror the NotFound path: update dependent RouterInterfaces with
WaitingOnObject(..., WaitingOnReady) so status shows they are waiting
for the Router to be ready.
Add a KUTTL test covering this scenario.
Fixes k-orc#838

@eshulman2 eshulman2 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@winiciusallan

Copy link
Copy Markdown
Member

Sounds good to me. Thanks @IlanZuckerman. I would like to see what the CI thinks before approving it.

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.

RouterInterface shows no status when Router exists but is not Available

3 participants