mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
Merge pull request #44607 from supereagle/update-kubectl-apply-doc
Automatic merge from submit-queue (batch tested with PRs 44607, 44472, 44482) update kubectl apply doc for required resource name **What this PR does / why we need it**: Update kubectl apply doc to illustrate that the resource name is required. **Which issue this PR fixes** : fixes #44501 **Special notes for your reviewer**: @liggitt @adohe @jayunit100 **Release note**: ```release-note ```
This commit is contained in:
commit
b7f890fc96
@ -74,7 +74,7 @@ const (
|
|||||||
var (
|
var (
|
||||||
apply_long = templates.LongDesc(i18n.T(`
|
apply_long = templates.LongDesc(i18n.T(`
|
||||||
Apply a configuration to a resource by filename or stdin.
|
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'.
|
To use 'apply', always create the resource initially with either 'apply' or 'create --save-config'.
|
||||||
|
|
||||||
JSON and YAML formats are accepted.
|
JSON and YAML formats are accepted.
|
||||||
|
Loading…
Reference in New Issue
Block a user