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), }),