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>
This commit is contained in:
Kuldeeep18
2026-11-09 15:10:13 +01:00
committed by GitHub
co-authored by Claude Opus 5.5
parent 782672d2fd
commit 408802cb67
4 changed files with 6 additions and 8 deletions
+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