diff --git a/apis/v1/gatewayclass_types.go b/apis/v1/gatewayclass_types.go index d651736934..66ff5ba3f6 100644 --- a/apis/v1/gatewayclass_types.go +++ b/apis/v1/gatewayclass_types.go @@ -163,8 +163,8 @@ const ( // // Possible reasons for this condition to be False are: // - // * "Invalid" // * "InvalidParameters" + // * "Unsupported" // * "UnsupportedVersion" // // Possible reasons for this condition to be Unknown are: @@ -179,10 +179,6 @@ const ( // true. GatewayClassReasonAccepted GatewayClassConditionReason = "Accepted" - // This reason is used with the "Accepted" condition when the - // GatewayClass was not accepted, with more detail in the message. - GatewayClassReasonInvalid GatewayClassConditionReason = "Invalid" - // This reason is used with the "Accepted" condition when the GatewayClass // was not accepted because the parametersRef field refers to a nonexistent // or unsupported resource or kind, or when the data within that resource is @@ -195,6 +191,11 @@ const ( // GatewayClass. GatewayClassReasonPending GatewayClassConditionReason = "Pending" + // This reason is used with the "Accepted" condition when the GatewayClass + // was not accepted because the implementation does not support a + // user-defined GatewayClass. + GatewayClassReasonUnsupported GatewayClassConditionReason = "Unsupported" + // Deprecated: Use "Pending" instead. GatewayClassReasonWaiting GatewayClassConditionReason = "Waiting" )