Skip to content

Commit

Permalink
Fix absence of the Symlinks parameter for Destination when using tbot…
Browse files Browse the repository at this point in the history
… kube credentials (#50370)

Signed-off-by: Tim Buckley <[email protected]>
Co-authored-by: Vadim Aleksandrov <[email protected]>
  • Loading branch information
2 people authored and mvbrock committed Dec 19, 2024
1 parent 561711d commit 2249e1e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tool/tbot/kube.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2249e1e

Please sign in to comment.