mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-10 13:42:02 +00:00
Handle auth files with BearerToken sections.
This commit is contained in:
@@ -88,6 +88,7 @@ func loadClientOrDie() *client.Client {
|
||||
config.CAFile = auth.CAFile
|
||||
config.CertFile = auth.CertFile
|
||||
config.KeyFile = auth.KeyFile
|
||||
config.BearerToken = auth.BearerToken
|
||||
if auth.Insecure != nil {
|
||||
config.Insecure = *auth.Insecure
|
||||
}
|
||||
|
Reference in New Issue
Block a user