Fix #56640: Map k8s ansible keys to api keys (#57418)

* Fix #56643: Map ansible keys to api keys

* Remove errant print line

* Fix pep8 issue

* Fix doc line

* Added test for validate_certs -> verify_ssl translation for k8s module
This commit is contained in:
Marcus Watkins
2019-06-06 02:51:24 -06:00
committed by Will Thames
parent 8a02901e5f
commit 6e94b472e8
2 changed files with 37 additions and 9 deletions

View File

@@ -18,6 +18,19 @@
debug:
var: output
- name: Setting validate_certs to true causes a failure
k8s:
name: testing
kind: namespace
validate_certs: yes
ignore_errors: yes
register: output
- name: assert that validate_certs caused a failure (and therefore was correctly translated to verify_ssl)
assert:
that:
- output is failed
- name: k8s_info works with empty resources
k8s_info:
kind: Deployment