File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -283,6 +283,7 @@ var _ = g.Describe("Authorization [RBAC] [Zalando]", func() {
283
283
g .It ("should allow write access to DaemonSets" , func () {
284
284
tc .data .resources = []string {"apps/daemonsets" }
285
285
tc .data .verbs = []string {"create" , "update" , "delete" , "patch" }
286
+ tc .data .namespaces = []string {"visibility" }
286
287
tc .run (context .TODO (), cs , true )
287
288
gomega .Expect (tc .output .passed ).To (gomega .BeTrue (), tc .output .String ())
288
289
})
@@ -294,7 +295,7 @@ var _ = g.Describe("Authorization [RBAC] [Zalando]", func() {
294
295
})
295
296
g .It ("should deny deletion of kube-system or visibility namespaces" , func () {
296
297
tc .data .resources = []string {"namespaces" }
297
- tc .data .namespaces = []string {"kube-system" , "visibility" }
298
+ tc .data .names = []string {"kube-system" , "visibility" }
298
299
tc .data .verbs = []string {"delete" }
299
300
tc .run (context .TODO (), cs , false )
300
301
gomega .Expect (tc .output .passed ).To (gomega .BeTrue (), tc .output .String ())
You can’t perform that action at this time.
0 commit comments