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
timothyb89 and verdel authored Dec 19, 2024
1 parent e67a13e commit a3f0fdb
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 a3f0fdb

Please sign in to comment.