summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/library/oc_user.py
Commit message (Collapse)AuthorAgeFilesLines
* Adding ability to yedit json files.Kenny Woodson2018-02-131-6/+18
|
* Fixing file write issue.Kenny Woodson2018-01-311-1/+1
|
* lib/base: Allow for empty option valueJose A. Rivera2017-09-291-1/+1
| | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* Returning actual results of yedit query. Empty list was returning empty dict.Kenny Woodson2017-09-201-1/+1
|
* add dnf support to roles/openshift_health_checker/library/aos_version.pyAdam Miller2017-08-161-5/+4
| | | | Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
* lib/base: allow for results parsing on non-zero return codeJose A. Rivera2017-06-081-28/+16
| | | | | | | | | | | | On an 'oc get' in particular, the command may return a non-zero error code while still having found valid resources. Thus, we should parse the valid output while still reporting the error. oc_obj.get(), for instance, takes care of determining if the return code should be reset to 0 in some error cases. Also do a bit of logic cleanup and output sanitizing. Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* add support for oc_service for labels, externalIPsRich Megginson2017-05-301-8/+17
| | | | | | | | | | | | Add support for `labels` and `externalIPs` in Services This also adds support for the `labels` parameter of `oadm registry` and `oadm router` to be a `dict` of values. This also converts `labels` dict values in the router and registry classes into a comma delimited list of `key=value` pairs. The list of `--labels` is sorted for consistency in key pair positioning in the output (and for consistency in testing) - otherwise, the order of the list is not guarantee and has actually been observed to be different from run to run.
* lib/base: Allow for more complex template paramsJose A. Rivera2017-05-191-1/+1
| | | | | | | This change allows for the specification of JSON objects like lists as parameters to templates. Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* Fix for yedit custom separatorsMatt Woodson2017-05-101-1/+1
|
* Allow oc_ modules to pass unicode resultsRussell Teague2017-05-031-1/+1
|
* Removing resource version to remove object conflicts caused by race conditions.Kenny Woodson2017-04-211-0/+7
|
* Adding ability to delete by selector.Kenny Woodson2017-04-051-17/+21
|
* Removing test coverage for shared code.Kenny Woodson2017-04-041-3/+3
|
* Fixed a bug in oc_volume.Kenny Woodson2017-03-281-77/+120
|
* rebase and regenerateJoel Diaz2017-03-211-11/+19
|
* clean up and clarify docs/commentsJoel Diaz2017-03-211-35/+197
| | | | update unit tests
* add oc_user ansible moduleJoel Diaz2017-03-211-0/+1544
module to manipulate OpenShift users, and assign group membership to users