Skip to content

Commit

Permalink
Fixed KUBERNETES_EXEC_INFO environment variable passed to auth plugins (
Browse files Browse the repository at this point in the history
#1320)

Signed-off-by: Razz4780 <msmolarekg@gmail.com>
Signed-off-by: Eirik A <sszynrae@gmail.com>
Co-authored-by: Eirik A <sszynrae@gmail.com>
  • Loading branch information
Razz4780 and clux authored Oct 25, 2023
1 parent 57191c3 commit 9c81f1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kube-client/src/client/auth/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ fn auth_exec(auth: &ExecConfig) -> Result<ExecCredential, Error> {
// Provide exec info to child process
let exec_info = serde_json::to_string(&ExecCredential {
api_version: auth.api_version.clone(),
kind: None,
kind: "ExecCredential".to_string().into(),
spec: Some(ExecCredentialSpec {
interactive: Some(interactive),
}),
Expand Down

0 comments on commit 9c81f1f

Please sign in to comment.