From c223b83a6f7fa3fbd96fa83ba06f1055f166a7ac Mon Sep 17 00:00:00 2001 From: Joao Morais Date: Mon, 9 Feb 2026 16:41:40 -0300 Subject: [PATCH] UPSTREAM: : 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. --- .../customresourcevalidation/route/validation_opts.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/openshift-kube-apiserver/admission/customresourcevalidation/route/validation_opts.go b/openshift-kube-apiserver/admission/customresourcevalidation/route/validation_opts.go index 3bbe5c30ad655..3010c48e154dd 100644 --- a/openshift-kube-apiserver/admission/customresourcevalidation/route/validation_opts.go +++ b/openshift-kube-apiserver/admission/customresourcevalidation/route/validation_opts.go @@ -1,10 +1,6 @@ package route import ( - "k8s.io/apiserver/pkg/util/feature" - "k8s.io/component-base/featuregate" - - openshiftfeatures "github.com/openshift/api/features" routecommon "github.com/openshift/library-go/pkg/route" ) @@ -21,7 +17,7 @@ var _ RouteValidationOptionGetter = &RouteValidationOpts{} func NewRouteValidationOpts() *RouteValidationOpts { return &RouteValidationOpts{ opts: routecommon.RouteValidationOptions{ - AllowExternalCertificates: feature.DefaultMutableFeatureGate.Enabled(featuregate.Feature(openshiftfeatures.FeatureGateRouteExternalCertificate)), + AllowExternalCertificates: true, }, } }