diff --git a/test/conformance/testdata/conformance.yaml b/test/conformance/testdata/conformance.yaml index 1c9978aada7..851fda882bc 100755 --- a/test/conformance/testdata/conformance.yaml +++ b/test/conformance/testdata/conformance.yaml @@ -1339,6 +1339,14 @@ and 3c the ServiceTokenVolume MUST not be auto mounted. release: v1.9 file: test/e2e/auth/service_accounts.go +- testname: ServiceAccount, create and review token + codename: '[sig-auth] ServiceAccounts should create a serviceAccountToken and ensure + a successful TokenReview [Conformance]' + description: Creating a ServiceAccount MUST succeed. Creating a ServiceAccountToken + MUST succeed. The token MUST not be empty. Creating a TokenReview MUST succeed. + The TokenReview MUST be authenticated without any errors. + release: v1.32 + file: test/e2e/auth/service_accounts.go - testname: RootCA ConfigMap test codename: '[sig-auth] ServiceAccounts should guarantee kube-root-ca.crt exist in any namespace [Conformance]' diff --git a/test/e2e/auth/service_accounts.go b/test/e2e/auth/service_accounts.go index f517fc6cfcc..cdc32265d99 100644 --- a/test/e2e/auth/service_accounts.go +++ b/test/e2e/auth/service_accounts.go @@ -868,7 +868,14 @@ var _ = SIGDescribe("ServiceAccounts", func() { framework.Logf("AutomountServiceAccountToken: %v", *updatedServiceAccount.AutomountServiceAccountToken) }) - ginkgo.It("should create a serviceAccountToken and ensure a successful TokenReview", func(ctx context.Context) { + /* + Release: v1.32 + Testname: ServiceAccount, create and review token + Description: Creating a ServiceAccount MUST succeed. Creating a ServiceAccountToken + MUST succeed. The token MUST not be empty. Creating a TokenReview MUST succeed. + The TokenReview MUST be authenticated without any errors. + */ + framework.ConformanceIt("should create a serviceAccountToken and ensure a successful TokenReview", func(ctx context.Context) { ns := f.Namespace.Name saClient := f.ClientSet.CoreV1().ServiceAccounts(ns) saName := "e2e-sa-" + utilrand.String(5)