Fix known_hosts typo in spec

This commit is contained in:
stefanprodan 2020-04-09 13:09:03 +03:00
parent 424c1cc097
commit 5ca2f9a4c9
1 changed files with 3 additions and 3 deletions

View File

@ -170,19 +170,19 @@ type: Opaque
data:
identity: <BASE64>
identity.pub: <BASE64>
know_hosts: <BASE64>
known_hosts: <BASE64>
```
Example of generating the SSH credentials secret:
```bash
ssh-keygen -q -N "" -f ./identity
ssh-keyscan github.com > ./know_hosts
ssh-keyscan github.com > ./known_hosts
kubectl create secret generic ssh-credentials \
--from-file=./identity \
--from-file=./identity.pub \
--from-file=./know_hosts
--from-file=./known_hosts
```
## Status examples