Skip to content

Commit 2249e1e

Browse files
timothyb89verdel
authored andcommitted
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>
1 parent 561711d commit 2249e1e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tool/tbot/kube.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ func onKubeCredentialsCommand(
7373
return trace.Wrap(err)
7474
}
7575

76+
if err = destination.CheckAndSetDefaults(); err != nil {
77+
return trace.Wrap(err)
78+
}
79+
7680
idData, err := destination.Read(ctx, config.IdentityFilePath)
7781
if err != nil {
7882
return trace.Wrap(err)

0 commit comments

Comments
 (0)