From d9d2a72d9c1644f2ef9fd7cb6d571b963fa1c1ec Mon Sep 17 00:00:00 2001 From: supereagle Date: Tue, 18 Apr 2017 19:54:41 +0800 Subject: [PATCH] update kubectl apply doc for required resource name --- pkg/kubectl/cmd/apply.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kubectl/cmd/apply.go b/pkg/kubectl/cmd/apply.go index f98929c9a3d..0e41a78b420 100644 --- a/pkg/kubectl/cmd/apply.go +++ b/pkg/kubectl/cmd/apply.go @@ -74,7 +74,7 @@ const ( var ( apply_long = templates.LongDesc(i18n.T(` Apply a configuration to a resource by filename or stdin. - This resource will be created if it doesn't exist yet. + The resource name must be specified. This resource will be created if it doesn't exist yet. To use 'apply', always create the resource initially with either 'apply' or 'create --save-config'. JSON and YAML formats are accepted.