K8s: Update from v0.31.3 to v0.32.0 (#98507)
This commit is contained in:
@@ -10,9 +10,9 @@ require (
|
||||
github.com/stretchr/testify v1.9.0
|
||||
gocloud.dev v0.39.0
|
||||
google.golang.org/grpc v1.66.0
|
||||
k8s.io/apimachinery v0.31.3
|
||||
k8s.io/apiserver v0.31.3
|
||||
k8s.io/client-go v0.31.3
|
||||
k8s.io/apimachinery v0.32.0
|
||||
k8s.io/apiserver v0.32.0
|
||||
k8s.io/client-go v0.32.0
|
||||
k8s.io/klog/v2 v2.130.1
|
||||
)
|
||||
|
||||
@@ -98,8 +98,8 @@ require (
|
||||
gopkg.in/inf.v0 v0.9.1 // indirect
|
||||
gopkg.in/yaml.v2 v2.4.0 // indirect
|
||||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||
k8s.io/api v0.31.3 // indirect
|
||||
k8s.io/component-base v0.31.3 // indirect
|
||||
k8s.io/api v0.32.0 // indirect
|
||||
k8s.io/component-base v0.32.0 // indirect
|
||||
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 // indirect
|
||||
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 // indirect
|
||||
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.30.3 // indirect
|
||||
|
||||
@@ -193,7 +193,7 @@ func (s *Storage) Create(ctx context.Context, key string, obj runtime.Object, ou
|
||||
// set a timer to delete the file after ttl seconds
|
||||
if ttl > 0 {
|
||||
time.AfterFunc(time.Second*time.Duration(ttl), func() {
|
||||
if err := s.Delete(ctx, key, s.newFunc(), &storage.Preconditions{}, func(ctx context.Context, obj runtime.Object) error { return nil }, obj); err != nil {
|
||||
if err := s.Delete(ctx, key, s.newFunc(), &storage.Preconditions{}, func(ctx context.Context, obj runtime.Object) error { return nil }, obj, storage.DeleteOptions{}); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
})
|
||||
@@ -214,6 +214,7 @@ func (s *Storage) Delete(
|
||||
preconditions *storage.Preconditions,
|
||||
validateDeletion storage.ValidateObjectFunc,
|
||||
_ runtime.Object,
|
||||
opts storage.DeleteOptions,
|
||||
) error {
|
||||
if err := s.Get(ctx, key, storage.GetOptions{}, out); err != nil {
|
||||
return err
|
||||
|
||||
@@ -15,7 +15,7 @@ require (
|
||||
gocloud.dev v0.39.0
|
||||
google.golang.org/grpc v1.66.0
|
||||
google.golang.org/protobuf v1.34.2
|
||||
k8s.io/apimachinery v0.31.3
|
||||
k8s.io/apimachinery v0.32.0
|
||||
)
|
||||
|
||||
require golang.org/x/net v0.33.0 // indirect
|
||||
|
||||
Reference in New Issue
Block a user