Skip to content

Commit

Permalink
Debug ARM issue
Browse files Browse the repository at this point in the history
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
  • Loading branch information
hiddeco committed May 24, 2023
1 parent 43f810d commit 19bcbf1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/controller/update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1628,6 +1628,9 @@ func createSSHIdentitySecret(kClient client.Client, name, namespace, repoURL str
if err != nil {
return err
}
if len(knownhosts) == 0 {
return fmt.Errorf("no host key found for %s", url.Host)
}
keygen := ssh.NewRSAGenerator(2048)
pair, err := keygen.Generate()
if err != nil {
Expand Down

0 comments on commit 19bcbf1

Please sign in to comment.