Skip to content

Commit 213f79b

Browse files
Update 3rd-party dependencies for 26.02 release
Signed-off-by: Meghna Singh <ms73385@netapp.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent d2c95bf commit 213f79b

12 files changed

Lines changed: 405 additions & 309 deletions

File tree

config/config.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -299,16 +299,16 @@ const (
299299

300300
// Minimum and maximum supported Kubernetes versions
301301
KubernetesVersionMin = "v1.27"
302-
KubernetesVersionMax = "v1.34"
302+
KubernetesVersionMax = "v1.35"
303303

304304
// KubernetesCSISidecarRegistry is where the CSI sidecar images are hosted
305305
KubernetesCSISidecarRegistry = "registry.k8s.io/sig-storage"
306-
CSISidecarProvisionerImageTag = "csi-provisioner:v5.3.0"
306+
CSISidecarProvisionerImageTag = "csi-provisioner:v6.1.0"
307307
CSISidecarAttacherImageTag = "csi-attacher:v4.10.0"
308-
CSISidecarResizerImageTag = "csi-resizer:v1.14.0"
309-
CSISidecarSnapshotterImageTag = "csi-snapshotter:v8.3.0"
308+
CSISidecarResizerImageTag = "csi-resizer:v2.0.0"
309+
CSISidecarSnapshotterImageTag = "csi-snapshotter:v8.4.0"
310310
CSISidecarNodeDriverRegistrarImageTag = "csi-node-driver-registrar:v2.15.0"
311-
CSISidecarLivenessProbeImageTag = "livenessprobe:v2.15.0"
311+
CSISidecarLivenessProbeImageTag = "livenessprobe:v2.17.0"
312312

313313
DefaultK8sAPIQPS = 100.0
314314
DefaultK8sAPIBurst = 200

frontend/autogrow/autogrow_orchestrator_test.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ package autogrow
44

55
import (
66
"context"
7+
"os"
78
"testing"
89
"time"
910

@@ -39,6 +40,19 @@ func getTestContext() context.Context {
3940
return ctx
4041
}
4142

43+
func TestMain(m *testing.M) {
44+
// Disable WatchListClient feature for all tests to prevent fake client bookmark issues
45+
os.Setenv("KUBE_FEATURE_WatchListClient", "false")
46+
47+
// Run all tests
48+
code := m.Run()
49+
50+
// Cleanup
51+
os.Unsetenv("KUBE_FEATURE_WatchListClient")
52+
53+
os.Exit(code)
54+
}
55+
4256
// setupTestListers creates fake K8s listers for testing
4357
func setupTestListers(
4458
t *testing.T,

frontend/autogrow/poller/poller_test.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ package poller
55
import (
66
"context"
77
"fmt"
8+
"os"
89
"sync"
910
"sync/atomic"
1011
"testing"
@@ -43,6 +44,19 @@ func getTestContext() context.Context {
4344
return ctx
4445
}
4546

47+
func TestMain(m *testing.M) {
48+
// Disable WatchListClient feature for all tests to prevent fake client bookmark issues
49+
os.Setenv("KUBE_FEATURE_WatchListClient", "false")
50+
51+
// Run all tests
52+
code := m.Run()
53+
54+
// Cleanup
55+
os.Unsetenv("KUBE_FEATURE_WatchListClient")
56+
57+
os.Exit(code)
58+
}
59+
4660
// getTestAutogrowCache returns a test autogrow cache instance
4761
func getTestAutogrowCache() *agCache.AutogrowCache {
4862
return agCache.NewAutogrowCache()

frontend/autogrow/requester/requester_test.go

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ package requester
55
import (
66
"context"
77
"fmt"
8+
"os"
89
"sync"
910
"sync/atomic"
1011
"testing"
@@ -110,6 +111,18 @@ func (f *fakeAGPLister) Get(name string) (*v1.TridentAutogrowPolicy, error) {
110111
// ============================================================================
111112
// Helper Functions
112113
// ============================================================================
114+
func TestMain(m *testing.M) {
115+
// Setup test environment once for all tests in the package
116+
os.Setenv("KUBE_FEATURE_WatchListClient", "false")
117+
118+
// Run all tests
119+
code := m.Run()
120+
121+
// Cleanup
122+
os.Unsetenv("KUBE_FEATURE_WatchListClient")
123+
124+
os.Exit(code)
125+
}
113126

114127
func setupTestEnvironment(t *testing.T, policies ...*v1.TridentAutogrowPolicy) (
115128
*fake.Clientset,

frontend/autogrow/scheduler/assorter/assorter_test.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ package assorter
44

55
import (
66
"context"
7+
"os"
78
"testing"
89
"time"
910

@@ -26,6 +27,19 @@ func mockPublishFunc(ctx context.Context, volumeNames []string) error {
2627
return nil
2728
}
2829

30+
func TestMain(m *testing.M) {
31+
// Setup test environment once for all tests in the package
32+
os.Setenv("KUBE_FEATURE_WatchListClient", "false")
33+
34+
// Run all tests
35+
code := m.Run()
36+
37+
// Cleanup
38+
os.Unsetenv("KUBE_FEATURE_WatchListClient")
39+
40+
os.Exit(code)
41+
}
42+
2943
// fakeConfig is a fake config type for testing unsupported config scenarios
3044
type fakeConfig struct{}
3145

frontend/autogrow/scheduler/scheduler_test.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ package scheduler
55
import (
66
"context"
77
"fmt"
8+
"os"
89
"testing"
910
"time"
1011

@@ -47,6 +48,19 @@ type fakeTVPLister struct {
4748
err error
4849
}
4950

51+
func TestMain(m *testing.M) {
52+
// Setup test environment once for all tests in the package
53+
os.Setenv("KUBE_FEATURE_WatchListClient", "false")
54+
55+
// Run all tests
56+
code := m.Run()
57+
58+
// Cleanup
59+
os.Unsetenv("KUBE_FEATURE_WatchListClient")
60+
61+
os.Exit(code)
62+
}
63+
5064
func (f *fakeTVPLister) List(selector labels.Selector) (ret []*v1.TridentVolumePublication, err error) {
5165
return nil, f.err
5266
}

frontend/crd/controller/crd_test.go

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,20 @@ func init() {
3535
}
3636

3737
func TestMain(m *testing.M) {
38+
// Disable WatchListClient feature for all tests to prevent fake client bookmark issues
39+
os.Setenv("KUBE_FEATURE_WatchListClient", "false")
40+
3841
// Disable any standard log output
3942
InitLogOutput(io.Discard)
4043
_ = InitLogLevel("Trace")
41-
os.Exit(m.Run())
44+
45+
// Run all tests
46+
code := m.Run()
47+
48+
// Cleanup
49+
os.Unsetenv("KUBE_FEATURE_WatchListClient")
50+
51+
os.Exit(code)
4252
}
4353

4454
// NewFakeClientset is a better replacement for the autogenerated fake.NewSimpleClientset that

frontend/crd/node/trident_autogrow_policies_test.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ package crd
55
import (
66
"context"
77
"fmt"
8+
"os"
89
"testing"
910
"time"
1011

@@ -35,6 +36,19 @@ func getTestContext() context.Context {
3536
return ctx
3637
}
3738

39+
func TestMain(m *testing.M) {
40+
// Setup test environment once for all tests in the package
41+
os.Setenv("KUBE_FEATURE_WatchListClient", "false")
42+
43+
// Run all tests
44+
code := m.Run()
45+
46+
// Cleanup
47+
os.Unsetenv("KUBE_FEATURE_WatchListClient")
48+
49+
os.Exit(code)
50+
}
51+
3852
// createTestAGP creates a test TridentAutogrowPolicy object
3953
func createTestAGP(name string) *v1.TridentAutogrowPolicy {
4054
return &v1.TridentAutogrowPolicy{

frontend/csi/controller_helpers/kubernetes/helper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"strings"
1010

1111
vsv1 "github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumesnapshot/v1"
12-
"gopkg.in/yaml.v2"
12+
"gopkg.in/yaml.v3"
1313
v1 "k8s.io/api/core/v1"
1414
k8sstoragev1 "k8s.io/api/storage/v1"
1515
apierrors "k8s.io/apimachinery/pkg/api/errors"

0 commit comments

Comments
 (0)