You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: keps/sig-auth/740-service-account-external-signing/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -245,12 +245,12 @@ message Key {
245
245
message MetadataRequest {}
246
246
247
247
message MetadataResponse {
248
-
// used by kube-apiserver for defaulting/validation of JWT lifetime while accounting for configuration flag values:
248
+
// used by kube-apiserver as the max token lifetime and for validation against configuration flag values:
249
249
// 1. `--service-account-max-token-expiration`
250
250
// 2. `--service-account-extend-token-expiration`
251
251
//
252
-
// * If `--service-account-max-token-expiration` is greater than `max_token_expiration_seconds`, kube-apiserver treats that as misconfiguration and exits.
253
-
// * If `--service-account-max-token-expiration` is not explicitly set, kube-apiserver defaults to `max_token_expiration_seconds`.
252
+
// * If `--service-account-max-token-expiration` is set while external-jwt-signer is configured, kube-apiserver treats that as misconfiguration and exits.
253
+
// * If `--service-account-max-token-expiration` is not set, kube-apiserver uses `max_token_expiration_seconds` as max token lifetime.
254
254
// * If `--service-account-extend-token-expiration` is true, the extended expiration is `min(1 year, max_token_expiration_seconds)`.
255
255
//
256
256
// `max_token_expiration_seconds` must be at least 600s.
0 commit comments