Add statefulset to the completion candidates of kubectl scale

pull/6/head
Kazuki Suda 2017-05-22 22:32:53 +09:00
parent 5dd56c9b1e
commit feb8148796
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ var (
func NewCmdScale(f cmdutil.Factory, out io.Writer) *cobra.Command {
options := &resource.FilenameOptions{}
validArgs := []string{"deployment", "replicaset", "replicationcontroller", "job"}
validArgs := []string{"deployment", "replicaset", "replicationcontroller", "job", "statefulset"}
argAliases := kubectl.ResourceAliases(validArgs)
cmd := &cobra.Command{