Manage the GatewayClass Accepted Status Condition #10093
Labels
Area: Gloo Gateway
Issues related to the Gloo Gateway project
Area: K8S Gateway API
Issues related to the Kubernetes Gateway API
post-plan/1.18
release/1.18
Type: Enhancement
New feature or request
Gloo Edge Product
Open Source
Gloo Edge Version
1.17.7
Is your feature request related to a problem? Please describe.
The GatewayClass reconciler will unconditionally set the
Accepted: True
status condition for managed GatewayClasses. According to the GatewayClass spec, this status condition type should be set tofalse
for the following reasons:Describe the solution you'd like
Update the
ReconcileGatewayClasses()
method to implement the following:Accepted: False
and an “InvalidParameters” reason if the GatewayClass references an invalid GatewayParameters resource.Accepted: False
and an “ UnsupportedVersion” reason if the installed Gateway API CRDs do not have thegateway.networking.k8s.io/bundle-version annotation
, or have it set to a version that is not recognized or supported (xref).Describe alternatives you've considered
N/A
Additional Context
This functionality is required to be compliant with the spec.
┆Issue is synchronized with this Asana task by Unito
The text was updated successfully, but these errors were encountered: