@@ -1862,7 +1862,7 @@ func createGRPCURIMatch(match k8s.GRPCRouteMatch) (*istio.StringMatch, *ConfigEr
1862
1862
1863
1863
// getGatewayClass finds all gateway class that are owned by Istio
1864
1864
// Response is ClassName -> Controller type
1865
- func getGatewayClasses (r GatewayResources , supportedFeatures []k8s. SupportedFeature ) map [string ]k8s.GatewayController {
1865
+ func getGatewayClasses (r GatewayResources ) map [string ]k8s.GatewayController {
1866
1866
res := map [string ]k8s.GatewayController {}
1867
1867
// Setup builtin ones - these can be overridden possibly
1868
1868
for name , controller := range builtinClasses {
@@ -1880,7 +1880,6 @@ func getGatewayClasses(r GatewayResources, supportedFeatures []k8s.SupportedFeat
1880
1880
obj .Status .(* kstatus.WrappedStatus ).Mutate (func (s config.Status ) config.Status {
1881
1881
gcs := s .(* k8s.GatewayClassStatus )
1882
1882
* gcs = GetClassStatus (gcs , obj .Generation )
1883
- gcs .SupportedFeatures = supportedFeatures
1884
1883
return gcs
1885
1884
})
1886
1885
}
@@ -2029,7 +2028,7 @@ func convertGateways(r configContext) ([]config.Config, map[parentKey][]*parentI
2029
2028
// namespaceLabelReferences keeps track of all namespace label keys referenced by Gateways. This is
2030
2029
// used to ensure we handle namespace updates for those keys.
2031
2030
namespaceLabelReferences := sets .New [string ]()
2032
- classes := getGatewayClasses (r .GatewayResources , gatewaySupportedFeatures )
2031
+ classes := getGatewayClasses (r .GatewayResources )
2033
2032
for _ , obj := range r .Gateway {
2034
2033
obj := obj
2035
2034
kgw := obj .Spec .(* k8s.GatewaySpec )
0 commit comments