Skip to content

Commit 1aab8c4

Browse files
committed
docs: Gateway parametersRef Accepted condition
The `InvalidParameters` reason SHOULD be used for the `Accepted` condition in case the object referenced does not exist, is of an unsupported Kind, or is malformed. Signed-off-by: Mattia Lavacca <[email protected]>
1 parent 34ff645 commit 1aab8c4

File tree

4 files changed

+26
-1
lines changed

4 files changed

+26
-1
lines changed

apis/v1/gateway_types.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -788,6 +788,11 @@ type GatewayInfrastructure struct {
788788
// the merging behavior is implementation specific.
789789
// It is generally recommended that GatewayClass provides defaults that can be overridden by a Gateway.
790790
//
791+
// If the referent cannot be found, refers to an unsupported kind, or when
792+
// the data within that resource is malformed, the Gateway SHOULD be
793+
// rejected with the "Accepted" status condition set to "False" and an
794+
// "InvalidParameters" reason.
795+
//
791796
// Support: Implementation-specific
792797
//
793798
// +optional

config/crd/experimental/gateway.networking.k8s.io_gateways.yaml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/standard/gateway.networking.k8s.io_gateways.yaml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/generated/openapi/zz_generated.openapi.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)