mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 09:22:44 +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 {
|
func (BasicReplicationController) ParamNames() []GeneratorParam {
|
||||||
return []GeneratorParam{
|
return []GeneratorParam{
|
||||||
{"labels", false},
|
{"labels", false},
|
||||||
|
{"default-name", false},
|
||||||
{"name", true},
|
{"name", true},
|
||||||
{"replicas", true},
|
{"replicas", true},
|
||||||
{"image", true},
|
{"image", true},
|
||||||
|
Loading…
Reference in New Issue
Block a user