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
Signed-off-by: Razz4780 <msmolarekg@gmail.com>
  • Loading branch information
Razz4780 committed Oct 23, 2023
1 parent c3fbe25 commit f6a6c69
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(),

Check warning on line 557 in kube-client/src/client/auth/mod.rs

View check run for this annotation

Codecov / codecov/patch

kube-client/src/client/auth/mod.rs#L557

Added line #L557 was not covered by tests
spec: Some(ExecCredentialSpec {
interactive: Some(interactive),
}),
Expand Down

0 comments on commit f6a6c69

Please sign in to comment.