mirror of
https://github.com/ko-build/ko.git
synced 2025-11-23 22:35:11 +02:00
Add -- usage in readme (#840)
Signed-off-by: jwcesign <jwcesign@gmail.com> Signed-off-by: jwcesign <jwcesign@gmail.com>
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user