mirror of
https://github.com/rancher/steve.git
synced 2025-09-12 13:31:57 +00:00
Bumped dependencies to be compatible with k8s-v1.33 (#681)
Signed-off-by: swastik959 <Sswastik959@gmail.com>
This commit is contained in:
@@ -23,7 +23,8 @@ import (
|
||||
genericapiserver "k8s.io/apiserver/pkg/server"
|
||||
"k8s.io/apiserver/pkg/server/dynamiccertificates"
|
||||
genericoptions "k8s.io/apiserver/pkg/server/options"
|
||||
"k8s.io/component-base/version"
|
||||
"k8s.io/apiserver/pkg/util/compatibility"
|
||||
basecompatibility "k8s.io/component-base/compatibility"
|
||||
openapicommon "k8s.io/kube-openapi/pkg/common"
|
||||
"k8s.io/kube-openapi/pkg/validation/spec"
|
||||
)
|
||||
@@ -74,7 +75,7 @@ type ExtensionAPIServerOptions struct {
|
||||
//
|
||||
// If nil, the default version is the version of the Kubernetes Go library
|
||||
// compiled in the final binary.
|
||||
EffectiveVersion version.EffectiveVersion
|
||||
EffectiveVersion basecompatibility.EffectiveVersion
|
||||
|
||||
SNICerts []dynamiccertificates.SNICertKeyContentProvider
|
||||
}
|
||||
@@ -166,7 +167,7 @@ func NewExtensionAPIServer(scheme *runtime.Scheme, codecs serializer.CodecFactor
|
||||
// The default kube effective version ends up being the version of the
|
||||
// library. (The value is hardcoded but it is kept up-to-date via some
|
||||
// automation)
|
||||
config.EffectiveVersion = version.DefaultKubeEffectiveVersion()
|
||||
config.EffectiveVersion = compatibility.DefaultBuildEffectiveVersion()
|
||||
if opts.EffectiveVersion != nil {
|
||||
config.EffectiveVersion = opts.EffectiveVersion
|
||||
}
|
||||
|
Reference in New Issue
Block a user