Skip to content
Open
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions apis/v1/gateway_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -998,6 +998,24 @@ type GatewayStatus struct {
// +listMapKey=name
// +kubebuilder:validation:MaxItems=64
Listeners []ListenerStatus `json:"listeners,omitempty"`

// AttachedListeners represents the total number of ListenerSets that have been
// successfully attached to this Gateway.
//
// Successful attachment of a ListenerSets to a Gateway is based solely on the
// combination of the AllowedListeners field on the Gateway
// and the ListenerSets's ParentRefs field. A ListenerSets is successfully attached to
// a Gateway when it is selected by the ListenerSets's AllowedListeners field
// AND the ListenerSets has a valid ParentRef selecting the Gateway
// resource as a parent resource. ListenerSets status does not impact
// successful attachment, i.e. the AttachedListeners field count MUST be set
// for ListenerSets with condition Accepted: false and MUST count successfully
// attached AttachedListeners that may themselves have Accepted: false conditions.
//
// Uses for this field include troubleshooting AttachedListeners attachment and
// measuring blast radius/impact of changes to a Gateway.
// +optional
AttachedListeners int32 `json:"attachedListeners"`
}

// GatewayInfrastructure defines infrastructure level attributes about a Gateway instance.
Expand Down
15 changes: 12 additions & 3 deletions applyconfiguration/apis/v1/gatewaystatus.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions applyconfiguration/internal/internal.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 38 additions & 0 deletions config/crd/experimental/gateway.networking.k8s.io_gateways.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 38 additions & 0 deletions config/crd/standard/gateway.networking.k8s.io_gateways.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading