Skip to content

Commit

Permalink
use correct file name
Browse files Browse the repository at this point in the history
  • Loading branch information
miampf committed Jan 7, 2025
1 parent 7a7e2df commit 5493cb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrapper/internal/joinclient/joinclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ func (c *JoinClient) startNodeAndJoin(ticket *joinproto.IssueJoinTicketResponse,
return fmt.Errorf("writing kubelet key: %w", err)
}
// TODO(miampf): Make path a constant
if err := c.fileHandler.Write("/run/ssh/ca_key.pub", ticket.EmergencyCaKey, file.OptMkdirAll); err != nil {
if err := c.fileHandler.Write("/run/ssh/ssh_ca.pub", ticket.EmergencyCaKey, file.OptMkdirAll); err != nil {
return fmt.Errorf("writing ca key: %w", err)
}

Expand Down

0 comments on commit 5493cb7

Please sign in to comment.