@@ -32,20 +32,11 @@ var _ = BeforeSuite(func() {
32
32
// For master and unreleased branches, we want the latest stable release
33
33
var upgradeChannel string
34
34
var err error
35
- if * channel == "latest" || * channel == "v1.32" {
36
- // disabled: AuthorizeNodeWithSelectors is now on by default, which breaks compat with agents < v1.32.
37
- // This can be ren-enabled once the previous branch is v1.32 or higher, or when RBAC changes have been backported.
38
- // ref: https://github.com/kubernetes/kubernetes/pull/128168
39
- Skip ("Skipping version skew tests for " + * channel + " due to AuthorizeNodeWithSelectors" )
40
-
41
- upgradeChannel = "stable"
42
- } else {
43
- // We want to substract one from the minor version to get the previous release
44
- sV , err := semver .ParseTolerant (* channel )
45
- Expect (err ).NotTo (HaveOccurred (), "failed to parse version from " + * channel )
46
- sV .Minor --
47
- upgradeChannel = fmt .Sprintf ("v%d.%d" , sV .Major , sV .Minor )
48
- }
35
+ // We want to substract one from the minor version to get the previous release
36
+ sV , err := semver .ParseTolerant (* channel )
37
+ Expect (err ).NotTo (HaveOccurred (), "failed to parse version from " + * channel )
38
+ sV .Minor --
39
+ upgradeChannel = fmt .Sprintf ("v%d.%d" , sV .Major , sV .Minor )
49
40
50
41
lastMinorVersion , err = tester .GetVersionFromChannel (upgradeChannel )
51
42
Expect (err ).NotTo (HaveOccurred ())
0 commit comments