mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
K8s retry merge (#44821)
* Make merge_type a list and apply merge_type in order Allow use case of preferring strategic-merge and failing back to merge, or just preferring a different merge type * Improve k8s module test coverage
This commit is contained in:
parent
ac3781d40b
commit
ce110ff081
6 changed files with 433 additions and 270 deletions
|
@ -49,10 +49,12 @@ options:
|
|||
want to use C(merge) if you see "strategic merge patch format is not supported"
|
||||
- See U(https://kubernetes.io/docs/tasks/run-application/update-api-object-kubectl-patch/#use-a-json-merge-patch-to-update-a-deployment)
|
||||
- Requires openshift >= 0.6.2
|
||||
- If more than one merge_type is given, the merge_types will be tried in order
|
||||
choices:
|
||||
- json
|
||||
- merge
|
||||
- strategic-merge
|
||||
type: list
|
||||
version_added: "2.7"
|
||||
|
||||
requirements:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue