mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #99316 from zshihang/conformance
promote RootCAConfigMap e2e test to Conformance
This commit is contained in:
commit
1db189eab2
7
test/conformance/testdata/conformance.yaml
vendored
7
test/conformance/testdata/conformance.yaml
vendored
@ -2268,6 +2268,13 @@
|
|||||||
and 3c the ServiceTokenVolume MUST not be auto mounted.
|
and 3c the ServiceTokenVolume MUST not be auto mounted.
|
||||||
release: v1.9
|
release: v1.9
|
||||||
file: test/e2e/auth/service_accounts.go
|
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]'
|
||||||
|
description: Ensure every namespace exist a ConfigMap for root ca cert. 1. Created
|
||||||
|
automatically 2. Recreated if deleted 3. Reconciled if modified
|
||||||
|
release: v1.21
|
||||||
|
file: test/e2e/auth/service_accounts.go
|
||||||
- testname: Service Account Tokens Must AutoMount
|
- testname: Service Account Tokens Must AutoMount
|
||||||
codename: '[sig-auth] ServiceAccounts should mount an API token into pods [Conformance]'
|
codename: '[sig-auth] ServiceAccounts should mount an API token into pods [Conformance]'
|
||||||
description: Ensure that Service Account keys are mounted into the Container. Pod
|
description: Ensure that Service Account keys are mounted into the Container. Pod
|
||||||
|
@ -875,7 +875,15 @@ var _ = SIGDescribe("ServiceAccounts", func() {
|
|||||||
framework.ExpectEqual(eventFound, true, "failed to find %v event", watch.Deleted)
|
framework.ExpectEqual(eventFound, true, "failed to find %v event", watch.Deleted)
|
||||||
})
|
})
|
||||||
|
|
||||||
ginkgo.It("should guarantee kube-root-ca.crt exist in any namespace", func() {
|
/*
|
||||||
|
Release: v1.21
|
||||||
|
Testname: RootCA ConfigMap test
|
||||||
|
Description: Ensure every namespace exist a ConfigMap for root ca cert.
|
||||||
|
1. Created automatically
|
||||||
|
2. Recreated if deleted
|
||||||
|
3. Reconciled if modified
|
||||||
|
*/
|
||||||
|
framework.ConformanceIt("should guarantee kube-root-ca.crt exist in any namespace", func() {
|
||||||
const rootCAConfigMapName = "kube-root-ca.crt"
|
const rootCAConfigMapName = "kube-root-ca.crt"
|
||||||
|
|
||||||
framework.ExpectNoError(wait.PollImmediate(500*time.Millisecond, wait.ForeverTestTimeout, func() (bool, error) {
|
framework.ExpectNoError(wait.PollImmediate(500*time.Millisecond, wait.ForeverTestTimeout, func() (bool, error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user