|
1 | 1 | # KEP-2799: Reduction of Secret-based Service Account Tokens
|
2 | 2 |
|
3 | 3 | <!-- toc -->
|
4 |
| - |
5 | 4 | - [Release Signoff Checklist](#release-signoff-checklist)
|
6 | 5 | - [Summary](#summary)
|
7 | 6 | - [Motivation](#motivation)
|
|
16 | 15 | - [LegacyServiceAccountTokenTracking](#legacyserviceaccounttokentracking)
|
17 | 16 | - [LegacyServiceAccountTokenCleanUp](#legacyserviceaccounttokencleanup)
|
18 | 17 | - [Test Plan](#test-plan)
|
| 18 | + - [Prerequisite testing updates](#prerequisite-testing-updates) |
| 19 | + - [Unit tests](#unit-tests) |
| 20 | + - [Integration tests](#integration-tests) |
| 21 | + - [e2e tests](#e2e-tests) |
19 | 22 | - [Graduation Criteria](#graduation-criteria)
|
20 | 23 | - [LegacyServiceAccountTokenNoAutoGeneration](#legacyserviceaccounttokennoautogeneration-1)
|
21 | 24 | - [Beta -> GA Graduation](#beta---ga-graduation)
|
@@ -165,16 +168,30 @@ If `tracked-since` is unavailable, no secret would be removed.
|
165 | 168 |
|
166 | 169 | ### Test Plan
|
167 | 170 |
|
168 |
| -- Unit tests |
169 |
| -- Integration tests |
170 |
| - - Previously auto-generated secret-based token that's used within the |
171 |
| - configurable cleanup duration will continue to work. |
172 |
| - - Previously auto-generated secret-based token that's used after the |
173 |
| - configurable cleanup duration will be deleted. |
174 |
| -- E2E tests |
175 |
| - - Secret-based tokens would not be auto-generated. |
176 |
| - - Still able to explicitly request a secret-based token. |
177 |
| - - The explicitly requested token would not be deleted. |
| 171 | +[X] I/we understand the owners of the involved components may require updates to |
| 172 | +existing tests to make this code solid enough prior to committing the changes necessary |
| 173 | +to implement this enhancement. |
| 174 | + |
| 175 | +##### Prerequisite testing updates |
| 176 | + |
| 177 | +None |
| 178 | + |
| 179 | +##### Unit tests |
| 180 | + |
| 181 | +- `k8s.io/kubernetes/pkg/controller/serviceaccount`: `2022-06-13` - `67.5%` |
| 182 | + |
| 183 | +##### Integration tests |
| 184 | + |
| 185 | +- Previously auto-generated secret-based token that's used within the |
| 186 | + configurable cleanup duration will continue to work. |
| 187 | +- Previously auto-generated secret-based token that's used after the |
| 188 | + configurable cleanup duration will be deleted. |
| 189 | + |
| 190 | +##### e2e tests |
| 191 | + |
| 192 | +- Secret-based tokens would not be auto-generated. |
| 193 | +- Still able to explicitly request a secret-based token. |
| 194 | +- The explicitly requested token would not be deleted. |
178 | 195 |
|
179 | 196 | ### Graduation Criteria
|
180 | 197 |
|
|
0 commit comments