Skip to content

Commit

Permalink
Typos and correctness fixes for creds-init CLI doc
Browse files Browse the repository at this point in the history
Quick patch to address documentation errors.

Thanks @MemorySpring for the initial change, I'm just carrying this forward.

This closes and supercedes #1238
  • Loading branch information
Eric Sorenson authored and tekton-robot committed Sep 11, 2019
1 parent 1ac3262 commit 037a01b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/creds-init/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ git credential [`.git-credentials`]() file (with `-basic-git` flag).

### `-ssh-git`

This uses the `ssh-privatekey` and `know_hosts` keys of the secret to generate:
This uses the `ssh-privatekey` and `known_hosts` keys of the secret to generate:
- a `~/.ssh/id_{secret}` private key
- a `~/.ssh/config` file
- a `~/.ssh/known hosts`
- a `~/.ssh/known_hosts`

With a `Secret` that looks like:

Expand Down Expand Up @@ -46,7 +46,7 @@ The flag `-ssh-git=ssh-key=github.com` (with the environment variable
Port 22
```
- `~/.ssh/id_rsa` with the content of `ssh-privatekey` decoded
- `~/.ssh/known_hosts` with the content of `ssh-privatekey` decoded
- `~/.ssh/known_hosts` with the content of `known_hosts` decoded


### `-basic-git`
Expand Down Expand Up @@ -143,7 +143,7 @@ This uses the `config.json` key from a secret of type
`kubernetes.io/dockerconfigjson` to populate the generated docker's
`config.json` file.

### `-dokcer-cfg`
### `-docker-cfg`

This uses the `.dockercfg` key from a secret of type
`kubernetes.io/dockercfg` to populate the generated docker's
Expand Down

0 comments on commit 037a01b

Please sign in to comment.