Skip to content

Commit 95977e6

Browse files
committed
UPSTREAM: <carry>: warn only about unknown feature gates
1 parent c6937fd commit 95977e6

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)