Skip to content

Commit 79b71d2

Browse files
mlavaccarobscott
andauthored
docs: improve GWC GatewayClassReasonInvalidParameters reason description (#3553)
* docs: GatewayClassReasonInvalidParameters reason Signed-off-by: Mattia Lavacca <[email protected]> * Update apis/v1/gatewayclass_types.go Co-authored-by: Rob Scott <[email protected]> --------- Signed-off-by: Mattia Lavacca <[email protected]> Co-authored-by: Rob Scott <[email protected]>
1 parent cc9004d commit 79b71d2

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

apis/v1/gatewayclass_types.go

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,12 @@ const (
180180
GatewayClassReasonAccepted GatewayClassConditionReason = "Accepted"
181181

182182
// This reason is used with the "Accepted" condition when the GatewayClass
183-
// was not accepted because the parametersRef field refers to a nonexistent
184-
// or unsupported resource or kind, or when the data within that resource is
185-
// malformed.
183+
// was not accepted because the parametersRef field refers to
184+
// * a namespaced resource but the Namespace field is not set, or
185+
// * a cluster-scoped resource but the Namespace field is set, or
186+
// * a nonexistent object, or
187+
// * an unsupported resource or kind, or
188+
// * an existing resource but the data within that resource is malformed.
186189
GatewayClassReasonInvalidParameters GatewayClassConditionReason = "InvalidParameters"
187190

188191
// This reason is used with the "Accepted" condition when the

0 commit comments

Comments
 (0)