Add statusz to kubelet auth.

This commit is contained in:
zhangzhifei16
2024-12-11 14:34:13 +08:00
parent 902dedbb52
commit 7caff55fd9
4 changed files with 10 additions and 1 deletions

View File

@@ -573,6 +573,7 @@ func TestAuthzCoverage(t *testing.T) {
func TestAuthFilters(t *testing.T) {
// Enable features.ContainerCheckpoint during test
featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.ContainerCheckpoint, true)
featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, zpagesfeatures.ComponentStatusz, true)
fw := newServerTest()
defer fw.testHTTPServer.Close()