Commit Graph

5 Commits (bbf60e36eb5426b77d6b2d69336e90fb9c956b16)

Author SHA1 Message Date
David Edmonds ec0fff49ea Pass through YAML parsed object instead of string. (#2347) 2016-12-08 11:34:32 -05:00
Kevin Borgolte 026dc4f957 Fix Kubernetes API auth regression from 393e43b8 (#2503)
* Fix Kubernetes API auth regression from 393e43b8

Commit 393e43b8 renames url_username and url_password to username and
password, which breaks authentication to a Kubernetes API endpoint as
fetch_url() in ansible.module_utils.urls relies on url_username and
url_password being set.

* Add aliases for clustering/kubernetes.py

- username as alias for url_username
- password as alias for url_password
2016-12-08 11:34:31 -05:00
Brian Coca 04b4ca51c3 added missing msg=
fixes #2498
2016-12-08 11:34:26 -05:00
James Cammarata c6e8b9a0b7 Fixing/cleaning up kubernetes submission
1) Removed kubectl functionality. We'll move that into a different
   module in the future. Also removed post/put/patch/delete options,
   as they are not Ansible best practice.
2) Expanded error handling in areas where tracebacks were most likely,
   based on bad data from users, etc.
3) Added an 'insecure' option and made the password param optional, to
   enable the use of the local insecure port.
4) Allowed the data (both inline and from the file) to support multiple
   items via a list. This is common in YAML files where mutliple docs
   are used to create/remove multiple resources in one shot.
5) General bug fixing.
2016-12-08 11:34:08 -05:00
Eric Johnson a59cb5cae1 Adding kubernetes module 2016-12-08 11:34:08 -05:00