1
0
mirror of synced 2026-02-06 19:05:55 +00:00

Update dependencies

- Update Kubernetes packages to v1.24
- Update go-yaml to v3.0.0 (fix CVE-2022-28948)
- Update fluxcd/pkg/runtime to v0.15.1

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan
2022-05-27 13:29:20 +03:00
parent 64205cf523
commit 3f0efc9435
5 changed files with 195 additions and 648 deletions

View File

@@ -177,7 +177,7 @@ func scanHostKey(host string) ([]byte, error) {
// host key scanning to work.
host = fmt.Sprintf("%s:%d", host, defaultSSHPort)
}
hostKey, err := ssh.ScanHostKey(host, 30*time.Second)
hostKey, err := ssh.ScanHostKey(host, 30*time.Second, []string{}, false)
if err != nil {
return nil, fmt.Errorf("SSH key scan for host %s failed, error: %w", host, err)
}