generated from ansible-collections/collection_template
-
Notifications
You must be signed in to change notification settings - Fork 157
Open
Labels
type/enhancementNew feature or requestNew feature or request
Description
SUMMARY
Feature Request -
Add an option to one of the collection to allow us to run a command to patch the status field of a resource. Using the CLI it is possible by running: kubectl patch MyCrd myresource --type=merge --subresource status --patch '{"status": {...}}'.
At this moment we use the builtin command module to do so.
ISSUE TYPE
- Feature Idea
COMPONENT NAME
kubernetes.core.k8s_json_patch
ADDITIONAL INFORMATION
This feature would allow patching the status field.
Could be something like
- name: Apply multiple patch operations to an existing Pod
kubernetes.core.k8s_json_patch:
kind: Pod
namespace: testing
name: mypod
type: merge
subresource: status
subresource_patch:
status:
conditions:
- type: Ready
status: "True"
reason: ControllerReconciled
message: "Resource is ready."Metadata
Metadata
Assignees
Labels
type/enhancementNew feature or requestNew feature or request