kubectl/pkg/cmd
Julian V. Modesto 0d395d7c98 Make client-side apply safer
- Remove the ServerDryRun field and delegate it entirely to the resource.Helper
- Use resource.Helper for deletions (as in `kubectl apply --force`)
instead of using the pruner's method that uses a dynamic client
- Reduce the resource.Helpers and times we check for server-side dry-run
in apply

Kubernetes-commit: f0eb68c0cfcff6d50d9d5ec278f96820e3cb3f9a
2020-04-02 18:26:32 -04:00
..
annotate switch over k/k to use klog v2 2020-04-17 15:25:06 -04:00
apiresources Don't show flags in api-versions help 2020-02-12 18:31:05 +01:00
apply Make client-side apply safer 2020-04-02 18:26:32 -04:00
attach switch over k/k to use klog v2 2020-04-17 15:25:06 -04:00
autoscale switch over k/k to use klog v2 2020-04-17 15:25:06 -04:00
certificates client-go: update expansions callers 2020-03-06 16:29:23 -05:00
clusterinfo Changed kubectl cluster-info dump to not display "Cluster info dumped to standard output" message when output is stdout 2020-03-03 09:18:16 -05:00
completion fix(kubectl): remove trailing space when completing file path 2020-03-25 22:54:33 +08:00
config Changed kubectl config set-cluster and set-credentials to support process substitution for filenames 2020-05-15 09:22:59 -04:00
create Refactor create deployment and add --port flag 2020-05-14 18:34:40 +02:00
debug switch over k/k to use klog v2 2020-04-17 15:25:06 -04:00
delete switch over k/k to use klog v2 2020-04-17 15:25:06 -04:00
describe Squash pkg/describe/versioned/ into pkg/describe/ 2020-03-03 13:06:26 +01:00
diff Make client-side apply safer 2020-04-02 18:26:32 -04:00
drain Use --dry-run=client,server in kubectl. 2020-01-30 20:23:33 -05:00
edit Set kubectl field manager names 2020-03-04 22:04:01 -05:00
exec Remove double `kubectl` from output 2020-04-07 12:54:26 +02:00
explain fix(kubectl): explain crds with the same resource name with builtin objects 2020-03-26 16:07:06 +08:00
expose switch over k/k to use klog v2 2020-04-17 15:25:06 -04:00
get switch over k/k to use klog v2 2020-04-17 15:25:06 -04:00
help Move pkg/kubectl/cmd/{command} to staging 2019-08-01 11:01:40 -07:00
kustomize Move pkg/kubectl/cmd/{command} to staging 2019-08-01 11:01:40 -07:00
label switch over k/k to use klog v2 2020-04-17 15:25:06 -04:00
logs cleanup req.Context() and ResponseWrapper 2020-01-27 18:52:27 -08:00
options Move pkg/kubectl/cmd/{command} to staging 2019-08-01 11:01:40 -07:00
patch switch over k/k to use klog v2 2020-04-17 15:25:06 -04:00
plugin Add documentation around plugins 2020-02-26 14:50:50 +01:00
portforward Simplify dual or single port logic 2020-03-23 22:04:14 -04:00
proxy switch over k/k to use klog v2 2020-04-17 15:25:06 -04:00
replace switch over k/k to use klog v2 2020-04-17 15:25:06 -04:00
rollout [kubectl/pkg/cmd/rollout]: fix typo & tidy imports 2020-05-25 09:37:18 +08:00
run Fix kubectl run ignore namespace 2020-05-04 22:35:03 +08:00
scale switch over k/k to use klog v2 2020-04-17 15:25:06 -04:00
set Fix dry run client ignore namespace 2020-04-26 15:13:20 +08:00
taint switch over k/k to use klog v2 2020-04-17 15:25:06 -04:00
testing Register conversions for kubectl testing types 2020-01-09 14:16:33 +01:00
top switch over k/k to use klog v2 2020-04-17 15:25:06 -04:00
util Make client-side apply safer 2020-04-02 18:26:32 -04:00
version Fix kubectl version test to tolerate Run error coming from default 2020-04-17 17:50:24 +02:00
wait client-go dynamic client: add context to callers 2020-03-06 10:17:41 -05:00
alpha.go Add kubectl debug alpha command 2020-01-31 15:29:31 +01:00