Commit graph

5 commits

Author SHA1 Message Date
David Edmonds
bef9a1c14f Pass through YAML parsed object instead of string. (#2347) 2016-07-22 23:03:40 +02:00
Kevin Borgolte
f1cdafae12 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-07-10 10:17:31 +02:00
Brian Coca
d42e51a884 added missing msg=
fixes #2498
2016-06-30 09:52:18 -04:00
James Cammarata
393e43b876 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-04-14 16:43:59 -04:00
Eric Johnson
ffd1cac13c Adding kubernetes module 2016-01-05 14:57:08 +00:00