@@ -142,9 +142,8 @@ indicates if tracking is enabled in the cluster. It is similar to the existing
142
142
143
143
- the controller creates/updates a configmap in ` kube-system ` namespace that
144
144
stores the current date as ` tracked-since ` .
145
- - when a legacy token is used, issue a warning, annotate/update the
146
- ` last-used ` on the secret at date granularity, and record in a metric.
147
- optionally, add a label ` in-use ` for fast query.
145
+ - when a legacy token is used, issue a warning, update the label ` last-used `
146
+ on the secret at date granularity, and record in a metric.
148
147
149
148
- When LegacyServiceAccountTokenTracking is disabled in any apiserver,
150
149
- the controller ensures the configmap in ` kube-system ` namespace is deleted
@@ -235,10 +234,9 @@ legacy tokens for security practices.
235
234
236
235
#### Alpha -> Beta Graduation
237
236
238
- - [ ] In use by multiple distributions
239
- - [ ] Approved by PRR and scalability
240
- - [ ] Any known bugs fixed
241
- - [ ] Tests passing
237
+ - [x] Approved by PRR and scalability
238
+ - [x] Any known bugs fixed
239
+ - [x] Tests passing
242
240
243
241
#### LegacyServiceAccountTokenCleanUp
244
242
@@ -255,7 +253,6 @@ legacy tokens for security practices.
255
253
256
254
#### Alpha -> Beta Graduation
257
255
258
- - [ ] In use by multiple distributions
259
256
- [ ] Approved by PRR and scalability
260
257
- [ ] Any known bugs fixed
261
258
- [ ] Tests passing
@@ -286,7 +283,7 @@ The only touches control plane, so version skew strategy is not applicable.
286
283
###### Does enabling the feature change any default behavior?
287
284
288
285
- LegacyServiceAccountTokenNoAutoGeneration: no legacy tokens are auto-generated.
289
- - LegacyServiceAccountTokenTracking: legacy tokens would have new annotation and a configmap would be created in kube-system.
286
+ - LegacyServiceAccountTokenTracking: legacy tokens would have new label and a configmap would be created in kube-system.
290
287
- LegacyServiceAccountTokenCleanUp: unused auto-generated legacy tokens will be removed.
291
288
292
289
###### Can the feature be disabled once it has been enabled (i.e. can we roll back the enablement)?
@@ -299,7 +296,7 @@ yes for all feature gates.
299
296
before the reenablement, Token Controller would create tokens for
300
297
serviceaccounts while the feature was off.
301
298
- LegacyServiceAccountTokenTracking: during this sequence of operations,
302
- only the annotation ` last-used ` is persisted, but there is no impact on the
299
+ only the label ` last-used ` is persisted, but there is no impact on the
303
300
functionality of this feature.
304
301
- LegacyServiceAccountTokenCleanUp: the same as enable the feature.
305
302
0 commit comments