Skip to content

Commit

Permalink
Add hint in faq about anonymous fifo
Browse files Browse the repository at this point in the history
Instead of always using `-y` and a pipe, it might be better to use an anonymous fifo. That way users get the confirmation dialog with the convenience of a one-liner to generate and apply a manifest.
  • Loading branch information
dsyer authored Nov 6, 2019
1 parent 8b03883 commit 34e0d16
Showing 1 changed file with 1 addition and 1 deletion.
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 34e0d16

Please sign in to comment.