mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 05:36:12 +00:00
Address comment on TokenReview
This commit is contained in:
@@ -136,8 +136,9 @@ type TokenRequestSpec struct {
|
|||||||
|
|
||||||
// BoundObjectRef is a reference to an object that the token will be bound to.
|
// 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.
|
// 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
|
// NOTE: The API server's TokenReview endpoint will validate the
|
||||||
// may not. Keep ExpirationSeconds small if you want prompt revocation.
|
// BoundObjectRef, but other audiences may not. Keep ExpirationSeconds
|
||||||
|
// small if you want prompt revocation.
|
||||||
BoundObjectRef *BoundObjectReference
|
BoundObjectRef *BoundObjectReference
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user