-
Notifications
You must be signed in to change notification settings - Fork 617
Description
What would you like to be added:
- Add
ListenerConditionTypeAttached(or possiblyAcceptedfor parity with other objects, ref discrepancies between Accepted, Ready, and Detached condition types and reasons #1111 ), deprecateDetached
Why this is needed:
From a quick glance, seeing a ListenerStatus with Detached and Conflicted conditions on a Gateway can be a red herring leading an operator to initially think a Listener is not working properly - this may be particularly confusing for new users unfamiliar with checking for the "negative" case of Detached: {status: false, reason: Attached}, Conflicted: {status: false, reason: NoConflicts} meaning that the Listener is actually in a "good" state.
This potential confusion about whether a Listener is working as expected is slightly exacerbated by the ListenerStatus field being a child of GatewayStatus rather than being a status field directly on Listener.
I initially considered if Conflicted should be changed too, but I think just this change alone could make the status conditions for a Listener feel a bit more intuitve.