mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-11 01:41:54 -04:00
Address comment on TokenReview
This commit is contained in:
parent
48f7f6fb67
commit
e6c26da886
1 changed files with 3 additions and 2 deletions
|
|
@ -136,8 +136,9 @@ type TokenRequestSpec struct {
|
|||
|
||||
// BoundObjectRef is a reference to an object that the token will be bound to.
|
||||
// The token will only be valid for as long as the bound object exists.
|
||||
// NOTE: The API server will validate the BoundObjectRef, but other audiences
|
||||
// may not. Keep ExpirationSeconds small if you want prompt revocation.
|
||||
// NOTE: The API server's TokenReview endpoint will validate the
|
||||
// BoundObjectRef, but other audiences may not. Keep ExpirationSeconds
|
||||
// small if you want prompt revocation.
|
||||
BoundObjectRef *BoundObjectReference
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue