Promote ServiceAccount resource lifecycle test

This commit is contained in:
Caleb Woodbine 2020-04-23 16:32:54 +12:00
parent 7ad2eb04af
commit e09e781a0c
2 changed files with 18 additions and 1 deletions

View File

@ -1317,6 +1317,15 @@
Container.
release: v1.9
file: test/e2e/auth/service_accounts.go
- testname: ServiceAccount lifecycle test
codename: '[sig-auth] ServiceAccounts should run through the lifecycle of a ServiceAccount
[Conformance]'
description: Creates a ServiceAccount with a static Label MUST be added as shown
in watch event. Patching the ServiceAccount MUST return it's new property. Listing
the ServiceAccounts MUST return the test ServiceAccount with it's patched values.
ServiceAccount will be deleted and MUST find a deleted watch event.
release: v1.19
file: test/e2e/auth/service_accounts.go
- testname: Kubectl, guestbook application
codename: '[sig-cli] Kubectl client Guestbook application should create and stop
a working application [Conformance]'

View File

@ -623,7 +623,15 @@ var _ = SIGDescribe("ServiceAccounts", func() {
framework.Logf("completed pod")
})
ginkgo.It("should run through the lifecycle of a ServiceAccount", func() {
/*
Release: v1.19
Testname: ServiceAccount lifecycle test
Description: Creates a ServiceAccount with a static Label MUST be added as shown in watch event.
Patching the ServiceAccount MUST return it's new property.
Listing the ServiceAccounts MUST return the test ServiceAccount with it's patched values.
ServiceAccount will be deleted and MUST find a deleted watch event.
*/
framework.ConformanceIt("should run through the lifecycle of a ServiceAccount", func() {
testNamespaceName := f.Namespace.Name
testServiceAccountName := "testserviceaccount"
testServiceAccountStaticLabels := map[string]string{"test-serviceaccount-static": "true"}