summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/library/oc_objectvalidator.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>
* Merge pull request #4030 from liggitt/reserved-namespacesOpenShift Bot2017-05-121-0/+2
|\ | | | | Merged by openshift-bot
| * Reserve kubernetes and 'kubernetes-' prefixed namespacesJordan Liggitt2017-04-271-0/+2
| |
* | 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-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 #3590 from kwoodson/router_registry_unit_testsAndrew Butcher2017-03-091-2/+3
|\ | | | | Fix to OpenshiftCLIConfig to support an sorted keys. Removed redundant get.
| * 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.
* | Generic message directing people to contact supportScott Dodson2017-03-071-1/+10
|/
* Make generic OCObjectValidator from OCSDNValidatorMonis Khan2017-03-061-0/+1413
Signed-off-by: Monis Khan <mkhan@redhat.com>