Skip to content

Commit c223b83

Browse files
committed
UPSTREAM: <carry>: remove RouteExternalCertificate feature gate
RouteExternalCertificate is now enabled by default. This update is removing references to this feature gate, hardcoding its value to true. This update is also a pre-requisite to remove it from openshift/cluster-ingress-operator.
1 parent 9d52131 commit c223b83

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

openshift-kube-apiserver/admission/customresourcevalidation/route/validation_opts.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
package route
22

33
import (
4-
"k8s.io/apiserver/pkg/util/feature"
5-
"k8s.io/component-base/featuregate"
6-
7-
openshiftfeatures "github.com/openshift/api/features"
84
routecommon "github.com/openshift/library-go/pkg/route"
95
)
106

@@ -21,7 +17,7 @@ var _ RouteValidationOptionGetter = &RouteValidationOpts{}
2117
func NewRouteValidationOpts() *RouteValidationOpts {
2218
return &RouteValidationOpts{
2319
opts: routecommon.RouteValidationOptions{
24-
AllowExternalCertificates: feature.DefaultMutableFeatureGate.Enabled(featuregate.Feature(openshiftfeatures.FeatureGateRouteExternalCertificate)),
20+
AllowExternalCertificates: true,
2521
},
2622
}
2723
}

0 commit comments

Comments
 (0)