mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-17 07:03:31 +00:00
Handle auth files with BearerToken sections.
This commit is contained in:
@@ -216,6 +216,9 @@ func main() {
|
||||
if auth.KeyFile != "" {
|
||||
clientConfig.KeyFile = auth.KeyFile
|
||||
}
|
||||
if auth.BearerToken != "" {
|
||||
clientConfig.BearerToken = auth.BearerToken
|
||||
}
|
||||
if auth.Insecure != nil {
|
||||
clientConfig.Insecure = *auth.Insecure
|
||||
}
|
||||
|
Reference in New Issue
Block a user