We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33f907a commit 8b45296Copy full SHA for 8b45296
staging/src/k8s.io/apiserver/pkg/util/webhook/authentication.go
@@ -196,6 +196,9 @@ func restConfigFromKubeconfig(configAuthInfo *clientcmdapi.AuthInfo) (*rest.Conf
196
config.Username = configAuthInfo.Username
197
config.Password = configAuthInfo.Password
198
}
199
+ if configAuthInfo.Exec != nil {
200
+ config.ExecProvider = configAuthInfo.Exec.DeepCopy()
201
+ }
202
if configAuthInfo.AuthProvider != nil {
203
return nil, fmt.Errorf("auth provider not supported")
204
0 commit comments