mirror of
https://github.com/kubernetes/kubectl.git
synced 2026-02-03 20:39:39 -05:00
When a resource exists on the server, kubectl apply --dry-run=client was outputting the unchanged server state instead of showing what would result from applying the manifest. Fix by computing the three-way merge patch (same as real apply) and then applying it locally to the current server state. Kubernetes-commit: aea05ad180edaffbb1f09b41b62d452779ed1da1 |
||
|---|---|---|
| .. | ||
| testdata/prune/simple | ||
| apply.go | ||
| apply_edit_last_applied.go | ||
| apply_set_last_applied.go | ||
| apply_test.go | ||
| apply_view_last_applied.go | ||
| applyset.go | ||
| applyset_pruner.go | ||
| patcher.go | ||
| prune.go | ||