1
0
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:
jwcesign
2022-10-08 02:59:53 +08:00
committed by GitHub
parent 98a8ec6932
commit 2a0a50cb16

View File

@@ -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`