Skip to content

Commit

Permalink
Merge pull request kubernetes#70728 from Pingan2017/remove-kubectl-ru…
Browse files Browse the repository at this point in the history
…n-container

Remove deprecated kubectl command aliases 'run-container'
  • Loading branch information
k8s-ci-robot authored Nov 16, 2018
2 parents a856c7a + 07696b6 commit 1cdc918
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 9 deletions.
2 changes: 0 additions & 2 deletions docs/.generated_docs
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,6 @@ docs/man/man1/kubectl-rollout-resume.1
docs/man/man1/kubectl-rollout-status.1
docs/man/man1/kubectl-rollout-undo.1
docs/man/man1/kubectl-rollout.1
docs/man/man1/kubectl-run-container.1
docs/man/man1/kubectl-run.1
docs/man/man1/kubectl-scale.1
docs/man/man1/kubectl-set-env.1
Expand Down Expand Up @@ -418,7 +417,6 @@ docs/yaml/kubectl/kubectl_proxy.yaml
docs/yaml/kubectl/kubectl_replace.yaml
docs/yaml/kubectl/kubectl_rolling-update.yaml
docs/yaml/kubectl/kubectl_rollout.yaml
docs/yaml/kubectl/kubectl_run-container.yaml
docs/yaml/kubectl/kubectl_run.yaml
docs/yaml/kubectl/kubectl_scale.yaml
docs/yaml/kubectl/kubectl_set.yaml
Expand Down
3 changes: 0 additions & 3 deletions docs/man/man1/kubectl-run-container.1

This file was deleted.

3 changes: 0 additions & 3 deletions docs/yaml/kubectl/kubectl_run-container.yaml

This file was deleted.

1 change: 0 additions & 1 deletion pkg/kubectl/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,6 @@ func NewKubectlCommand(in io.Reader, out, err io.Writer) *cobra.Command {
expose.NewCmdExposeService(f, ioStreams),
run.NewCmdRun(f, ioStreams),
set.NewCmdSet(f, ioStreams),
deprecatedAlias("run-container", run.NewCmdRun(f, ioStreams)),
},
},
{
Expand Down

0 comments on commit 1cdc918

Please sign in to comment.