mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 03:11:40 +00:00
Promote ServiceAccount resource lifecycle test
This commit is contained in:
parent
7ad2eb04af
commit
e09e781a0c
9
test/conformance/testdata/conformance.yaml
vendored
9
test/conformance/testdata/conformance.yaml
vendored
@ -1317,6 +1317,15 @@
|
|||||||
Container.
|
Container.
|
||||||
release: v1.9
|
release: v1.9
|
||||||
file: test/e2e/auth/service_accounts.go
|
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
|
- testname: Kubectl, guestbook application
|
||||||
codename: '[sig-cli] Kubectl client Guestbook application should create and stop
|
codename: '[sig-cli] Kubectl client Guestbook application should create and stop
|
||||||
a working application [Conformance]'
|
a working application [Conformance]'
|
||||||
|
@ -623,7 +623,15 @@ var _ = SIGDescribe("ServiceAccounts", func() {
|
|||||||
framework.Logf("completed pod")
|
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
|
testNamespaceName := f.Namespace.Name
|
||||||
testServiceAccountName := "testserviceaccount"
|
testServiceAccountName := "testserviceaccount"
|
||||||
testServiceAccountStaticLabels := map[string]string{"test-serviceaccount-static": "true"}
|
testServiceAccountStaticLabels := map[string]string{"test-serviceaccount-static": "true"}
|
||||||
|
Loading…
Reference in New Issue
Block a user