mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
promote RootCAConfigMap e2e test to Conformance
This commit is contained in:
parent
d88d9ac3b4
commit
5d1774e9db
7
test/conformance/testdata/conformance.yaml
vendored
7
test/conformance/testdata/conformance.yaml
vendored
@ -2232,6 +2232,13 @@
|
||||
and 3c the ServiceTokenVolume MUST not be auto mounted.
|
||||
release: v1.9
|
||||
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
|
||||
codename: '[sig-auth] ServiceAccounts should mount an API token into pods [Conformance]'
|
||||
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)
|
||||
})
|
||||
|
||||
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"
|
||||
|
||||
framework.ExpectNoError(wait.PollImmediate(500*time.Millisecond, wait.ForeverTestTimeout, func() (bool, error) {
|
||||
|
Loading…
Reference in New Issue
Block a user