summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElana Hashman <ehashman@users.noreply.github.com>2022-01-25 11:44:36 -0800
committerGitHub <noreply@github.com>2022-01-25 11:44:36 -0800
commitf8148d406c36cf46783f62a38bae40352b760d34 (patch)
tree30d4e2f7315b77e0d5cc31c8ee7ea534c7ac72f6
parentf3c26b2e359773deee1e572f2bfdcead44f5d25a (diff)
Note when PUT can create items
See https://github.com/kubernetes/community/issues/6041#issuecomment-1021176213
-rw-r--r--contributors/devel/sig-architecture/api-conventions.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/contributors/devel/sig-architecture/api-conventions.md b/contributors/devel/sig-architecture/api-conventions.md
index f1a90fea..66d453b2 100644
--- a/contributors/devel/sig-architecture/api-conventions.md
+++ b/contributors/devel/sig-architecture/api-conventions.md
@@ -645,7 +645,10 @@ overrides a default grace period, including the zero grace period ("now").
* DELETE /&lt;resourceNamePlural&gt; - Deletes a list of type
&lt;resourceName&gt;, e.g. DELETE /pods a list of Pods.
* PUT /&lt;resourceNamePlural&gt;/&lt;name&gt; - Update or create the resource
-with the given name with the JSON object provided by the client.
+with the given name with the JSON object provided by the client. Whether a
+resource can be created with a PUT request depends on the particular resource's
+storage strategy configuration, specifically the `AllowCreateOnUpdate()` return
+value. Most built-in types do not allow this.
* PATCH /&lt;resourceNamePlural&gt;/&lt;name&gt; - Selectively modify the
specified fields of the resource. See more information [below](#patch-operations).
* GET /&lt;resourceNamePlural&gt;&quest;watch=true - Receive a stream of JSON