Commit Graph

5 Commits (5e174c6e50ed57c685412b83814b4d6eaeda81eb)

Author SHA1 Message Date
David Edmonds bef9a1c14f Pass through YAML parsed object instead of string. (#2347) 8 years ago
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
9 years ago
Brian Coca d42e51a884 added missing msg=
fixes #2498
9 years ago
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.
9 years ago
Eric Johnson ffd1cac13c Adding kubernetes module 9 years ago