summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/library/oc_adm_policy_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
|
* Adding support for cluster-autoscaler roleKenny Woodson2017-10-111-0/+19
|
* 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>
* Remove cluster in favor of rolebindings.Kenny Woodson2017-07-281-24/+23
|
* 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 module calls instead of command for idempotency.Kenny Woodson2017-04-191-1/+1
|
* 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-19/+18
|
* Adding a few more test cases. Fixed a bug when key was empty. Safeguard ↵Kenny Woodson2017-03-281-63/+107
| | | | against yedit module being passed an empty key
* Fixing variable naming for 35 scoping.Kenny Woodson2017-03-161-3/+3
|
* Merge pull request #3605 from kwoodson/oc_adm_policy_user_fixOpenShift Bot2017-03-091-19/+42
|\ | | | | Merged by openshift-bot
| * Fixing the way policies are found. The old method was unreliable. This ↵Kenny Woodson2017-03-081-19/+42
| | | | | | | | method searches all and matches on properties.
* | Removing ordereddict. Replaced with sorted keys.Kenny Woodson2017-03-081-4/+4
| |
* | Fix to OpenshiftCLIConfig to support an ordereddict. This was breaking test ↵Kenny Woodson2017-03-071-1/+2
|/ | | | cases.
* Re-generate modulesScott Dodson2017-03-031-2/+9
|
* Fixing checkout for bindings with -binding suffixjupierce2017-03-021-1/+1
|
* oadm_policy_group/adm_policy_user modulejupierce2017-03-021-0/+2091