k8s: clarify that state=present creates or patches the object (#1278)

Assisted-by: Claude Opus 5.5

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 408802cb67)
This commit is contained in:
Kuldeeep18
2026-11-09 14:10:21 +00:00
committed by patchback[bot]
parent 2e5f3198fc
commit 670d43c1a3
4 changed files with 6 additions and 8 deletions
+1 -1
View File
@@ -813,7 +813,7 @@ Parameters
</ul>
</td>
<td>
<div>Determines if an object should be created, patched, or deleted. When set to <code>present</code>, an object will be created, if it does not already exist. If set to <code>absent</code>, an existing object will be deleted. If set to <code>present</code>, an existing object will be patched, if its attributes differ from those specified using <em>resource_definition</em> or <em>src</em>.</div>
<div>Determines if an object should be created, patched, or deleted. When set to <code>present</code>, an object will be created if it does not already exist, and an existing object will be patched if its attributes differ from those specified using <em>resource_definition</em> or <em>src</em>. If set to <code>absent</code>, an existing object will be deleted.</div>
<div><code>patched</code> state is an existing resource that has a given patch applied. If the resource doesn&#x27;t exist, silently skip it (do not raise an error).</div>
</td>
</tr>
+1 -1
View File
@@ -509,7 +509,7 @@ Parameters
</ul>
</td>
<td>
<div>Determines if an object should be created, patched, or deleted. When set to <code>present</code>, an object will be created, if it does not already exist. If set to <code>absent</code>, an existing object will be deleted. If set to <code>present</code>, an existing object will be patched, if its attributes differ from those specified using <em>resource_definition</em> or <em>src</em>.</div>
<div>Determines if an object should be created, patched, or deleted. When set to <code>present</code>, an object will be created if it does not already exist, and an existing object will be patched if its attributes differ from those specified using <em>resource_definition</em> or <em>src</em>. If set to <code>absent</code>, an existing object will be deleted.</div>
</td>
</tr>
<tr>
+2 -3
View File
@@ -16,9 +16,8 @@ options:
state:
description:
- Determines if an object should be created, patched, or deleted. When set to C(present), an object will be
created, if it does not already exist. If set to C(absent), an existing object will be deleted. If set to
C(present), an existing object will be patched, if its attributes differ from those specified using
I(resource_definition) or I(src).
created if it does not already exist, and an existing object will be patched if its attributes differ from
those specified using I(resource_definition) or I(src). If set to C(absent), an existing object will be deleted.
type: str
default: present
choices: [ absent, present ]
+2 -3
View File
@@ -40,9 +40,8 @@ options:
state:
description:
- Determines if an object should be created, patched, or deleted. When set to C(present), an object will be
created, if it does not already exist. If set to C(absent), an existing object will be deleted. If set to
C(present), an existing object will be patched, if its attributes differ from those specified using
I(resource_definition) or I(src).
created if it does not already exist, and an existing object will be patched if its attributes differ from
those specified using I(resource_definition) or I(src). If set to C(absent), an existing object will be deleted.
- C(patched) state is an existing resource that has a given patch applied. If the resource doesn't exist, silently skip it (do not raise an error).
type: str
default: present