kubectl/pkg/cmd/apply
Masashi Honma 309d0ee885 test: Fix deprecated --dry-run parameter
Some unit tests throw this warning.

W1013 09:06:21.581870  176998 helpers.go:567] --dry-run=true is deprecated (boolean value) and can be replaced with --dry-run=client.

This patch removes the warning by using --dry-run=client instead of --dry-run=true.

The unit tests that are affected are:

make test WHAT=./vendor/k8s.io/kubectl/pkg/cmd/apply GOFLAGS=-v
make test WHAT=./vendor/k8s.io/kubectl/pkg/cmd/create GOFLAGS=-v

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>

Kubernetes-commit: ad7cbac16354e19981e986bbc2b3fd9cfa930d45
2020-10-14 10:00:08 +09:00
..
apply.go kubectl: improve the warning message when doing kubectl apply to the resource without expected annotation 2020-07-29 10:39:59 +08:00
apply_edit_last_applied.go Set kubectl field manager names 2020-03-04 22:04:01 -05:00
apply_set_last_applied.go Use --dry-run=client,server in kubectl. 2020-01-30 20:23:33 -05:00
apply_test.go test: Fix deprecated --dry-run parameter 2020-10-14 10:00:08 +09:00
apply_view_last_applied.go Move pkg/kubectl/cmd/{command} to staging 2019-08-01 11:01:40 -07:00
patcher.go Support kubectl delete foreground 2020-07-23 18:45:59 +08:00
prune.go Support kubectl delete foreground 2020-07-23 18:45:59 +08:00