Skip to content

Commit

Permalink
Remove deprecated rolling-update command
Browse files Browse the repository at this point in the history
  • Loading branch information
julianvmodesto committed Feb 14, 2020
1 parent 958c254 commit 932500c
Show file tree
Hide file tree
Showing 16 changed files with 9 additions and 3,487 deletions.
4 changes: 0 additions & 4 deletions build/visible_to/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ package_group(
"//staging/src/k8s.io/kubectl/pkg/cmd/portforward",
"//staging/src/k8s.io/kubectl/pkg/cmd/proxy",
"//staging/src/k8s.io/kubectl/pkg/cmd/replace",
"//staging/src/k8s.io/kubectl/pkg/cmd/rollingupdate",
"//staging/src/k8s.io/kubectl/pkg/cmd/rollout",
"//staging/src/k8s.io/kubectl/pkg/cmd/run",
"//staging/src/k8s.io/kubectl/pkg/cmd/scale",
Expand Down Expand Up @@ -260,7 +259,6 @@ package_group(
"//staging/src/k8s.io/kubectl/pkg/cmd/patch",
"//staging/src/k8s.io/kubectl/pkg/cmd/portforward",
"//staging/src/k8s.io/kubectl/pkg/cmd/replace",
"//staging/src/k8s.io/kubectl/pkg/cmd/rollingupdate",
"//staging/src/k8s.io/kubectl/pkg/cmd/rollout",
"//staging/src/k8s.io/kubectl/pkg/cmd/run",
"//staging/src/k8s.io/kubectl/pkg/cmd/set",
Expand Down Expand Up @@ -312,7 +310,6 @@ package_group(
"//staging/src/k8s.io/kubectl/pkg/cmd/portforward",
"//staging/src/k8s.io/kubectl/pkg/cmd/proxy",
"//staging/src/k8s.io/kubectl/pkg/cmd/replace",
"//staging/src/k8s.io/kubectl/pkg/cmd/rollingupdate",
"//staging/src/k8s.io/kubectl/pkg/cmd/rollout",
"//staging/src/k8s.io/kubectl/pkg/cmd/run",
"//staging/src/k8s.io/kubectl/pkg/cmd/scale",
Expand Down Expand Up @@ -423,7 +420,6 @@ package_group(
"//staging/src/k8s.io/kubectl/pkg/cmd",
"//staging/src/k8s.io/kubectl/pkg/cmd/apply",
"//staging/src/k8s.io/kubectl/pkg/cmd/replace",
"//staging/src/k8s.io/kubectl/pkg/cmd/rollingupdate",
"//staging/src/k8s.io/kubectl/pkg/cmd/testing",
"//staging/src/k8s.io/kubectl/pkg/cmd/util",
],
Expand Down
1 change: 0 additions & 1 deletion hack/.golint_failures
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,6 @@ staging/src/k8s.io/kubectl/pkg/cmd/plugin
staging/src/k8s.io/kubectl/pkg/cmd/portforward
staging/src/k8s.io/kubectl/pkg/cmd/proxy
staging/src/k8s.io/kubectl/pkg/cmd/replace
staging/src/k8s.io/kubectl/pkg/cmd/rollingupdate
staging/src/k8s.io/kubectl/pkg/cmd/rollout
staging/src/k8s.io/kubectl/pkg/cmd/run
staging/src/k8s.io/kubectl/pkg/cmd/scale
Expand Down
1 change: 0 additions & 1 deletion hack/.staticcheck_failures
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ vendor/k8s.io/kubectl/pkg/cmd/config
vendor/k8s.io/kubectl/pkg/cmd/edit
vendor/k8s.io/kubectl/pkg/cmd/exec
vendor/k8s.io/kubectl/pkg/cmd/get
vendor/k8s.io/kubectl/pkg/cmd/rollingupdate
vendor/k8s.io/kubectl/pkg/cmd/scale
vendor/k8s.io/kubectl/pkg/cmd/set
vendor/k8s.io/kubectl/pkg/cmd/testing
Expand Down
1 change: 0 additions & 1 deletion pkg/kubectl/cmd/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ go_library(
"//staging/src/k8s.io/kubectl/pkg/cmd/portforward:go_default_library",
"//staging/src/k8s.io/kubectl/pkg/cmd/proxy:go_default_library",
"//staging/src/k8s.io/kubectl/pkg/cmd/replace:go_default_library",
"//staging/src/k8s.io/kubectl/pkg/cmd/rollingupdate:go_default_library",
"//staging/src/k8s.io/kubectl/pkg/cmd/rollout:go_default_library",
"//staging/src/k8s.io/kubectl/pkg/cmd/run:go_default_library",
"//staging/src/k8s.io/kubectl/pkg/cmd/scale:go_default_library",
Expand Down
6 changes: 0 additions & 6 deletions pkg/kubectl/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ import (
"k8s.io/kubectl/pkg/cmd/portforward"
"k8s.io/kubectl/pkg/cmd/proxy"
"k8s.io/kubectl/pkg/cmd/replace"
"k8s.io/kubectl/pkg/cmd/rollingupdate"
"k8s.io/kubectl/pkg/cmd/rollout"
"k8s.io/kubectl/pkg/cmd/run"
"k8s.io/kubectl/pkg/cmd/scale"
Expand Down Expand Up @@ -265,10 +264,6 @@ __kubectl_custom_func() {
__kubectl_get_resource_pod
return
;;
kubectl_rolling-update)
__kubectl_get_resource_rc
return
;;
kubectl_cordon | kubectl_uncordon | kubectl_drain | kubectl_top_node)
__kubectl_get_resource_node
return
Expand Down Expand Up @@ -507,7 +502,6 @@ func NewKubectlCommand(in io.Reader, out, err io.Writer) *cobra.Command {
Message: "Deploy Commands:",
Commands: []*cobra.Command{
rollout.NewCmdRollout(f, ioStreams),
rollingupdate.NewCmdRollingUpdate(f, ioStreams),
scale.NewCmdScale(f, ioStreams),
autoscale.NewCmdAutoscale(f, ioStreams),
},
Expand Down
8 changes: 8 additions & 0 deletions staging/src/k8s.io/kubectl/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion staging/src/k8s.io/kubectl/pkg/cmd/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ filegroup(
"//staging/src/k8s.io/kubectl/pkg/cmd/portforward:all-srcs",
"//staging/src/k8s.io/kubectl/pkg/cmd/proxy:all-srcs",
"//staging/src/k8s.io/kubectl/pkg/cmd/replace:all-srcs",
"//staging/src/k8s.io/kubectl/pkg/cmd/rollingupdate:all-srcs",
"//staging/src/k8s.io/kubectl/pkg/cmd/rollout:all-srcs",
"//staging/src/k8s.io/kubectl/pkg/cmd/run:all-srcs",
"//staging/src/k8s.io/kubectl/pkg/cmd/scale:all-srcs",
Expand Down
86 changes: 0 additions & 86 deletions staging/src/k8s.io/kubectl/pkg/cmd/rollingupdate/BUILD

This file was deleted.

Loading

0 comments on commit 932500c

Please sign in to comment.