Add tests for #56147 (#57256)

Tests are separate for easier backporting
This commit is contained in:
Will Thames 2019-06-06 18:59:19 +10:00 committed by René Moser
parent d88739367e
commit f65ac2cf23

View file

@ -81,6 +81,25 @@
assert:
that: not output.changed
- name: Create a ConfigMap
k8s:
kind: ConfigMap
name: test-force-update
namespace: testing
definition:
data:
key: value
- name: Force update ConfigMap
k8s:
kind: ConfigMap
name: test-force-update
namespace: testing
definition:
data:
key: newvalue
force: yes
- name: Create PVC
k8s:
state: present