Skip to content

Commit a1d886f

Browse files
committedNov 28, 2024
UPSTREAM: <carry>: warn only about unknown feature gates
1 parent b3db16f commit a1d886f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎pkg/kubelet/apis/config/validation/validation_test.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,9 @@ func TestValidateKubeletConfiguration(t *testing.T) {
722722
conf.FeatureGates["invalid"] = true
723723
return conf
724724
},
725-
errMsg: "unrecognized feature gate: invalid",
725+
// In OpenShift we need to tolerate unrecognized feature gates
726+
// errMsg: "unrecognized feature gate: invalid",
727+
errMsg: "",
726728
},
727729
}
728730

0 commit comments

Comments
 (0)
Please sign in to comment.