mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
Name is a required parameter for kubectl run, default-name is not
(cherry picked from commit b69f1ff5bd
)
Conflicts:
pkg/kubectl/run.go
This commit is contained in:
parent
754d3ce99e
commit
ad7b10bf21
@ -29,6 +29,7 @@ type BasicReplicationController struct{}
|
||||
func (BasicReplicationController) ParamNames() []GeneratorParam {
|
||||
return []GeneratorParam{
|
||||
{"labels", false},
|
||||
{"default-name", false},
|
||||
{"name", true},
|
||||
{"replicas", true},
|
||||
{"image", true},
|
||||
|
Loading…
Reference in New Issue
Block a user