mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-15 06:43:54 +00:00
Add statefulset to the completion candidates of kubectl scale
This commit is contained in:
parent
5dd56c9b1e
commit
feb8148796
@ -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{
|
||||||
|
Loading…
Reference in New Issue
Block a user