uselagoon / lagoon-cli

A CLI for Lagoon - Docker Build and Deploy System for Kubernetes
https://uselagoon.github.io/lagoon-cli
MIT License
24 stars 15 forks source link

fix: unable to skip strict host key checking when known_hosts file is missing #382

Closed rocketeerbkw closed 3 weeks ago

rocketeerbkw commented 3 weeks ago

General Checklist

Automated tests for DDev are failing because their CI does not instantiate an environment with a known_hosts file. Even when adding the --strict-host-key-checking no flag, the cli still fails.

This PR skips the filesystem check when strict host key checking is disabled.

https://github.com/ddev/ddev/pull/6524