Merge pull request #112466 from mk46/warn_patch

Add notes for strategic merge patch is not supported for CR
This commit is contained in:
Kubernetes Prow Robot 2022-09-19 10:57:29 -07:00 committed by GitHub
commit 8723328d32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,7 +80,9 @@ var (
patchLong = templates.LongDesc(i18n.T(`
Update fields of a resource using strategic merge patch, a JSON merge patch, or a JSON patch.
JSON and YAML formats are accepted.`))
JSON and YAML formats are accepted.
Note: Strategic merge patch is not supported for custom resources.`))
patchExample = templates.Examples(i18n.T(`
# Partially update a node using a strategic merge patch, specifying the patch as JSON