@@ -22,10 +22,13 @@ import (
2222 "os"
2323 "strings"
2424
25+ "github.com/kcp-dev/embeddedetcd"
2526 "github.com/spf13/cobra"
27+
28+ apiextensionapiserver "k8s.io/apiextensions-apiserver/pkg/apiserver"
2629 kerrors "k8s.io/apimachinery/pkg/util/errors"
2730 utilruntime "k8s.io/apimachinery/pkg/util/runtime"
28- _ "k8s.io/apiserver/pkg/admission" // for admission plugins
31+ _ "k8s.io/apiserver/pkg/admission"
2932 genericapifilters "k8s.io/apiserver/pkg/endpoints/filters"
3033 genericapiserver "k8s.io/apiserver/pkg/server"
3134 utilfeature "k8s.io/apiserver/pkg/util/feature"
@@ -35,22 +38,19 @@ import (
3538 cliflag "k8s.io/component-base/cli/flag"
3639 "k8s.io/component-base/cli/globalflag"
3740 "k8s.io/component-base/logs"
38- "k8s.io/klog/v2"
39-
40- apiextensionapiserver "k8s.io/apiextensions-apiserver/pkg/apiserver"
4141 logsapi "k8s.io/component-base/logs/api/v1"
42- _ "k8s.io/component-base/metrics/prometheus/workqueue" // for workqueue metrics
42+ _ "k8s.io/component-base/metrics/prometheus/workqueue"
4343 "k8s.io/component-base/term"
4444 "k8s.io/component-base/version"
4545 "k8s.io/component-base/version/verflag"
46+ "k8s.io/klog/v2"
4647 aggregatorapiserver "k8s.io/kube-aggregator/pkg/apiserver"
4748 controlplaneapiserver "k8s.io/kubernetes/pkg/controlplane/apiserver"
48- _ "k8s.io/kubernetes/pkg/features" // add the kubernetes feature gates
49+ _ "k8s.io/kubernetes/pkg/features"
4950
5051 "github.com/kcp-dev/generic-controlplane/server/batteries"
5152 "github.com/kcp-dev/generic-controlplane/server/cmd/help"
5253 options "github.com/kcp-dev/generic-controlplane/server/cmd/options"
53- "github.com/kcp-dev/generic-controlplane/server/embeddedetcd"
5454 "github.com/kcp-dev/generic-controlplane/server/readiness"
5555)
5656
0 commit comments