mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
Merge pull request #99654 from ankeesler/exec-plugin-interactive-fix
exec credential provider: use stdin to detect user interaction
This commit is contained in:
commit
e2eb9f0005
@ -198,7 +198,7 @@ func newAuthenticator(c *cache, config *api.ExecConfig, cluster *clientauthentic
|
|||||||
|
|
||||||
stdin: os.Stdin,
|
stdin: os.Stdin,
|
||||||
stderr: os.Stderr,
|
stderr: os.Stderr,
|
||||||
interactive: term.IsTerminal(int(os.Stdout.Fd())),
|
interactive: term.IsTerminal(int(os.Stdin.Fd())),
|
||||||
now: time.Now,
|
now: time.Now,
|
||||||
environ: os.Environ,
|
environ: os.Environ,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user