DRA integration: remove unnecessary anonymous import

It's unclear why k8s.io/kubernetes/pkg/apis/resource/install needs
to be imported explicitly. Having the apiserver and scheduler ready
to be started ensures that all APIs are available.
This commit is contained in:
Patrick Ohly
2025-06-02 08:44:36 +02:00
parent bc338e7505
commit 241ac018e2

View File

@@ -27,8 +27,6 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/util/validation"
"k8s.io/utils/ptr"
_ "k8s.io/kubernetes/pkg/apis/resource/install"
)
// NewMaxResourceSlice creates a slice that is as large as possible given the current validation constraints.