mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-20 09:33:52 +00:00
default service-account-extend-token-expiration
to true
This commit is contained in:
@@ -165,7 +165,7 @@ func (o *BuiltInAuthenticationOptions) WithRequestHeader() *BuiltInAuthenticatio
|
||||
|
||||
// WithServiceAccounts set default value for service account authentication
|
||||
func (o *BuiltInAuthenticationOptions) WithServiceAccounts() *BuiltInAuthenticationOptions {
|
||||
o.ServiceAccounts = &ServiceAccountAuthenticationOptions{Lookup: true}
|
||||
o.ServiceAccounts = &ServiceAccountAuthenticationOptions{Lookup: true, ExtendExpiration: true}
|
||||
return o
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user