Deprecate `update` subcommand; introduce `apply`
This commit is a follow-up to the discussion in the ksonnet.next design doc, in which users consistently expressed their preference that the `update` command be called `apply`. NOTE: We have renamed `pkg/kubecfg/update_test.go` -> `pkg/kubecfg/apply_test.go`, but we copy the `update`'s integration test file. The reason is that the `update` unit tests actually test things like GC (rather than the command itself), so the file name is inconsequential. On the other hand, the integration tests test the commands themselves, so it is important to have two copies, one for `update` and one for `apply`.
Showing
- README.md 2 additions, 2 deletionsREADME.md
- cmd/apply.go 131 additions, 0 deletionscmd/apply.go
- cmd/root.go 4 additions, 4 deletionscmd/root.go
- cmd/update.go 8 additions, 26 deletionscmd/update.go
- examples/guestbook.jsonnet 1 addition, 1 deletionexamples/guestbook.jsonnet
- integration/apply_test.go 124 additions, 0 deletionsintegration/apply_test.go
- integration/update_test.go 0 additions, 4 deletionsintegration/update_test.go
- pkg/kubecfg/apply.go 3 additions, 3 deletionspkg/kubecfg/apply.go
- pkg/kubecfg/apply_test.go 0 additions, 0 deletionspkg/kubecfg/apply_test.go
Please register or sign in to comment