Name is a required parameter for kubectl run, default-name is not

(cherry picked from commit b69f1ff5bd)

Conflicts:
	pkg/kubectl/run.go
pull/6/head
derekwaynecarr 2015-06-01 14:05:05 -04:00 committed by Brendan Burns
parent 754d3ce99e
commit ad7b10bf21
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ type BasicReplicationController struct{}
func (BasicReplicationController) ParamNames() []GeneratorParam {
return []GeneratorParam{
{"labels", false},
{"default-name", false},
{"name", true},
{"replicas", true},
{"image", true},