mirror of https://github.com/k3s-io/k3s
Add statefulset to the completion candidates of kubectl scale
parent
5dd56c9b1e
commit
feb8148796
|
@ -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{
|
||||
|
|
Loading…
Reference in New Issue