Skip to content

Commit

Permalink
Add -- usage in readme (#840)
Browse files Browse the repository at this point in the history
Signed-off-by: jwcesign <[email protected]>

Signed-off-by: jwcesign <[email protected]>
  • Loading branch information
jwcesign authored Oct 7, 2022
1 parent 98a8ec6 commit 2a0a50c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,11 @@ using `ko apply`:
ko apply -f config/
```

Also, any flags passed after `--` are passed to `kubectl apply` directly, for example to specify context and kubeconfig:
```
ko apply -f config -- --context=foo --kubeconfig=cfg.yaml
```

**NB:** This requires that `kubectl` is available.

## `ko delete`
Expand Down

0 comments on commit 2a0a50c

Please sign in to comment.