Skip to content

Commit fd4b3c4

Browse files
committed
fix the secrets read testcase for poweruser, manual, emergency
1 parent 140474c commit fd4b3c4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/e2e/authorization.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,9 @@ var _ = g.Describe("Authorization [RBAC] [Zalando]", func() {
185185

186186
g.It("should allow read access to Secrets in namespaces other than kube-system and visibility", func() {
187187
tc.data.resources = []string{"secrets"}
188-
tc.data.namespaces = []string{"default", "teapot"}
188+
// The namespace must exist for the test case to pass, otherwise access
189+
// remains undecided.
190+
tc.data.namespaces = []string{"default"}
189191
tc.data.verbs = readOperations
190192
tc.run(context.TODO(), cs, true)
191193
gomega.Expect(tc.output.passed).To(gomega.BeTrue(), tc.output.String())

0 commit comments

Comments
 (0)