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