From 9c81f1f22802b2e9e1c63568ff49c4ddf92ffe2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Smolarek?= <34063647+Razz4780@users.noreply.github.com> Date: Thu, 26 Oct 2023 00:56:36 +0200 Subject: [PATCH] Fixed KUBERNETES_EXEC_INFO environment variable passed to auth plugins (#1320) Signed-off-by: Razz4780 Signed-off-by: Eirik A Co-authored-by: Eirik A --- 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), }),