roots / trellis-cli

A CLI to manage Trellis projects
https://roots.io/trellis/
MIT License
168 stars 24 forks source link

Bug: known hosts set on wrong repo #293

Closed codepuncher closed 2 years ago

codepuncher commented 2 years ago

Terms

Description

What's wrong?

When using --repo on trellis key generate, the deploy key and private key secrets are set to the specified repo but the known hosts secret is not.

What have you tried?

N/A

What insights have you gained?

I'm forgetful

Possible solutions

N/A

Temporary workarounds

N/A

Steps To Reproduce

  1. Run trellis key generate --repo MyOrg/MyRepo

Expected Behavior

To set known hosts secret to specified repo

Actual Behavior

Adds ssh known hosts secret to default/wrong repo

Relevant Log Output

No response

Versions

untagged