-
-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix interactivity in auth exec #1083
Fix interactivity in auth exec #1083
Conversation
Signed-off-by: armandpicard <armandpicard71@gmail.com>
Signed-off-by: armandpicard <armandpicard71@gmail.com>
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1083 +/- ##
==========================================
- Coverage 72.67% 72.47% -0.21%
==========================================
Files 65 65
Lines 4835 4847 +12
==========================================
- Hits 3514 3513 -1
- Misses 1321 1334 +13
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks a lot! Leaving it open for comments for a bit.
Co-authored-by: kazk <kazk.dev@gmail.com> Signed-off-by: Eirik A <sszynrae@gmail.com>
Merging this, it's a clean non-breaking change judging by the Command docs. Sorry for the delay, and thanks for the contribution! |
Signed-off-by: armandpicard armandpicard71@gmail.com
Motivation
Adding support for interactivity in auth exec and putting this information to the executed programs is needed; especialy on Windows (#1046 ).
Solution
I've added simple support for
interactiveMode
by giving parent process stdin to child process if needed and give information about interactivity with theKUBERNETES_EXEC_INFO
env variable.