Merge pull request #128168 from liggitt/4601-beta

KEP-4601: AuthorizeNodeWithSelectors / AuthorizeWithSelectors to beta
This commit is contained in:
Kubernetes Prow Robot
2024-10-18 17:39:03 +01:00
committed by GitHub
7 changed files with 15 additions and 10 deletions

View File

@@ -48,7 +48,7 @@ func RunAuthzSelectorsLibraryTests(t *testing.T, featureEnabled bool) {
// Start the server with the desired feature enablement
server, err := apiservertesting.StartTestServer(t, nil, []string{
fmt.Sprintf("--feature-gates=AuthorizeWithSelectors=%v", featureEnabled),
fmt.Sprintf("--feature-gates=AuthorizeNodeWithSelectors=%v,AuthorizeWithSelectors=%v", featureEnabled, featureEnabled),
"--runtime-config=resource.k8s.io/v1alpha3=true",
}, framework.SharedEtcd())
if err != nil {