Address comment on TokenReview

This commit is contained in:
Charles Eckman
2019-02-01 16:31:01 -08:00
parent 48f7f6fb67
commit e6c26da886

View File

@@ -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
} }