Inconsistent Default Reason for GatewayClass Status Condition Accepted
#3225
Labels
kind/bug
Categorizes issue or PR as related to a bug.
Accepted
#3225
What happened:
According to the API reference,
Pending
is the default Reason for the status conditionAccepted
of a new GatewayClass. However, in the actual code, the default reason is inconsistently set to two different values:During the creation of a resource, the status is typically absent. As a result, the reason for the status condition
Accepted
is still set to the deprecated valueWaiting
.What you expected to happen:
Regardless of how a GatewayClass is created, the reason for the status condition
Accepted
should always be set toPending
.How to reproduce it (as minimally and precisely as possible):
Apply the following manifest and verify its status:
Anything else we need to know?:
N/A
The text was updated successfully, but these errors were encountered: