From f6a6c6991a71e55f83e291eff2fac5212e66eadd Mon Sep 17 00:00:00 2001 From: Razz4780 Date: Mon, 23 Oct 2023 19:05:57 +0200 Subject: [PATCH] Fixed KUBERNETES_EXEC_INFO environment variable passed to auth plugins Signed-off-by: Razz4780 --- kube-client/src/client/auth/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kube-client/src/client/auth/mod.rs b/kube-client/src/client/auth/mod.rs index 5f64054ec..3c5a42933 100644 --- a/kube-client/src/client/auth/mod.rs +++ b/kube-client/src/client/auth/mod.rs @@ -554,7 +554,7 @@ fn auth_exec(auth: &ExecConfig) -> Result { // 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), }),