Skip to content

Commit 22a45d6

Browse files
committed
UPSTREAM: <carry>: APISelfSubjectReview: only test v1beta1 API
1 parent c5ae0eb commit 22a45d6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

test/e2e/auth/selfsubjectreviews.go

+5-3
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,8 @@ var _ = SIGDescribe("SelfSubjectReview", func() {
4242
Testname: SelfSubjectReview API
4343
Description:
4444
The authentication.k8s.io API group MUST exist in the /apis discovery document.
45-
The authentication.k8s.io/v1alpha1 API group/version MUST exist in the /apis/mode.k8s.io discovery document.
4645
The authentication.k8s.io/v1beta1 API group/version MUST exist in the /apis/mode.k8s.io discovery document.
4746
The authentication.k8s.io/v1 API group/version MUST exist in the /apis/mode.k8s.io discovery document.
48-
The selfsubjectreviews resource MUST exist in the /apis/authentication.k8s.io/v1alpha1 discovery document.
4947
The selfsubjectreviews resource MUST exist in the /apis/authentication.k8s.io/v1beta1 discovery document.
5048
The selfsubjectreviews resource MUST exist in the /apis/authentication.k8s.io/v1 discovery document.
5149
The selfsubjectreviews resource MUST support create.
@@ -107,7 +105,8 @@ var _ = SIGDescribe("SelfSubjectReview", func() {
107105
}
108106
}
109107
},
110-
ginkgo.Entry("authentication/v1alpha1", "v1alpha1", authenticationv1alpha1.SchemeGroupVersion.String()),
108+
// OpenShift: Skip v1alpha check
109+
// ginkgo.Entry("authentication/v1alpha1", "v1alpha1", authenticationv1alpha1.SchemeGroupVersion.String()),
111110
ginkgo.Entry("authentication/v1beta1", "v1beta1", authenticationv1beta1.SchemeGroupVersion.String()),
112111
ginkgo.Entry("authentication/v1", "v1", authenticationv1.SchemeGroupVersion.String()),
113112
)
@@ -116,6 +115,9 @@ var _ = SIGDescribe("SelfSubjectReview", func() {
116115
// Check creating
117116
ginkgo.By("creating SSR authentication/v1alpha1")
118117
{
118+
// OpenShift: Skip v1alpha check
119+
ginkgo.Skip("No authentication/v1alpha1 available")
120+
119121
// Use impersonate to make user attributes predictable
120122
config := restConfig(f)
121123

0 commit comments

Comments
 (0)