Commit feb81487 authored by Kazuki Suda's avatar Kazuki Suda

Add statefulset to the completion candidates of kubectl scale

parent 5dd56c9b
...@@ -61,7 +61,7 @@ var ( ...@@ -61,7 +61,7 @@ var (
func NewCmdScale(f cmdutil.Factory, out io.Writer) *cobra.Command { func NewCmdScale(f cmdutil.Factory, out io.Writer) *cobra.Command {
options := &resource.FilenameOptions{} options := &resource.FilenameOptions{}
validArgs := []string{"deployment", "replicaset", "replicationcontroller", "job"} validArgs := []string{"deployment", "replicaset", "replicationcontroller", "job", "statefulset"}
argAliases := kubectl.ResourceAliases(validArgs) argAliases := kubectl.ResourceAliases(validArgs)
cmd := &cobra.Command{ cmd := &cobra.Command{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment