document problem when removing something from a dictionary (#58349)

the problem is described at https://github.com/ansible/ansible/pull/49053#issuecomment-480427406
This commit is contained in:
Mark McKinstry 2019-06-28 08:39:29 -07:00 committed by anshulbehl
parent 16610fa399
commit 393ea1cd55

View file

@ -40,6 +40,12 @@ extends_documentation_fragment:
- k8s_resource_options - k8s_resource_options
- k8s_auth_options - k8s_auth_options
notes:
- If you are trying to remove an item from an associative array/dictionary,
for example a label or an annotation, you will need to explicitly set the
value of the item to be removed to `null`. Simply deleting the entry in the
dictionary will not remove it from openshift or kubernetes.
options: options:
merge_type: merge_type:
description: description: