Fix absence of the Symlinks parameter for Destination when using tbot kube credentials (#50370)

Signed-off-by: Tim Buckley <tim@goteleport.com>
Co-authored-by: Vadim Aleksandrov <valeksandrov@me.com>
This commit is contained in:
Tim Buckley
2024-12-19 00:32:22 +00:00
committed by GitHub
co-authored by Vadim Aleksandrov
parent e67a13e885
commit a3f0fdbbda
+4
View File
@@ -73,6 +73,10 @@ func onKubeCredentialsCommand(
return trace.Wrap(err)
}
if err = destination.CheckAndSetDefaults(); err != nil {
return trace.Wrap(err)
}
idData, err := destination.Read(ctx, config.IdentityFilePath)
if err != nil {
return trace.Wrap(err)