summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/library/oc_clusterrole.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>
* Remove cluster in favor of rolebindings.Kenny Woodson2017-07-281-1/+1
|
* 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-5/+9
|
* Adding ability to delete by selector.Kenny Woodson2017-04-051-17/+21
|
* Removing test coverage for shared code.Kenny Woodson2017-04-041-3/+3
|
* Fix generated codeScott Dodson2017-03-311-77/+120
|
* Fixed spacing.Kenny Woodson2017-03-291-3/+3
|
* Fixed docs. Fixed add_resource.Kenny Woodson2017-03-291-5/+6
|
* Fixing linting for spaces.Kenny Woodson2017-03-291-4/+4
|
* Adding clusterrole to the toolbox.Kenny Woodson2017-03-281-0/+1759