Update sigs.k8s.io/gateway-api to v1.2.0-rc1
Co-authored-by: Kevin Pollet <pollet.kevin@gmail.com>
This commit is contained in:
parent
312ebb17ab
commit
a6db1cac37
11 changed files with 1280 additions and 2203 deletions
|
@ -317,10 +317,14 @@ func (p *Provider) loadConfigurationFromGateways(ctx context.Context) *dynamic.C
|
|||
}
|
||||
|
||||
var supportedFeatures []gatev1.SupportedFeature
|
||||
for _, feature := range SupportedFeatures() {
|
||||
supportedFeatures = append(supportedFeatures, gatev1.SupportedFeature(feature))
|
||||
if p.ExperimentalChannel {
|
||||
for _, feature := range SupportedFeatures() {
|
||||
supportedFeatures = append(supportedFeatures, gatev1.SupportedFeature{Name: gatev1.FeatureName(feature)})
|
||||
}
|
||||
slices.SortFunc(supportedFeatures, func(a, b gatev1.SupportedFeature) int {
|
||||
return strings.Compare(string(a.Name), string(b.Name))
|
||||
})
|
||||
}
|
||||
slices.Sort(supportedFeatures)
|
||||
|
||||
gatewayClassNames := map[string]struct{}{}
|
||||
for _, gatewayClass := range gatewayClasses {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue