Skip to content

Commit

Permalink
Merge pull request #46 from dsyer/patch-1
Browse files Browse the repository at this point in the history
Add hint in faq about anonymous fifo
  • Loading branch information
cppforlife authored Nov 6, 2019
2 parents d49a47e + a2e1017 commit faaf13a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/cheatsheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
- `ytt -f config/ | kapp deploy -a app1 -f- -c -y`
- Deploy app named `app1` with configuration piped in

- `kapp deploy -a app1 -f- <(ytt -f config/ )`
- Deploy app named `app1` with configuration generated inline and with confirmation dialog

- `kapp deploy -a app1 -f config/ -c --diff-context=10`
- Show more diff context when reviewing changes during deploy

Expand Down
2 changes: 1 addition & 1 deletion docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

### `Error: Asking for confirmation: EOF`

This probably means you have piped configuration into kapp and did not specify `--yes` (`-y`) flag to continue. It's necessary because kapp can no longer ask for confirmation via stdin. Feel free to re-run the command with `--diff-changes` (`-c`) to make sure pending changes are correct.
This probably means you have piped configuration into kapp and did not specify `--yes` (`-y`) flag to continue. It's necessary because kapp can no longer ask for confirmation via stdin. Feel free to re-run the command with `--diff-changes` (`-c`) to make sure pending changes are correct. Instead of using a pipe you can also use an anonymous fifo keeping stdin free for the confirmation prompt, e.g. `kapp deploy -a app1 -f <(ytt -f config/)`

---
### Where to store app resources (i.e. in which namespace)?
Expand Down

0 comments on commit faaf13a

Please sign in to comment.