summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/library/oadm_manage_node.py
Commit message (Collapse)AuthorAgeFilesLines
* Renaming oadm_manage_node to oc_adm_manage_nodeRussell Teague2017-03-101-1621/+0
|
* 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.
* Merge pull request #3527 from joelddiaz/yedit-path-exceptionsKenny Woodson2017-03-031-2/+9
|\ | | | | raise exceptions when walking through object path
| * regenerate lib_openshift with yedit exception changesJoel Diaz2017-02-281-2/+9
| |
* | Modified base debug statements. Fixed oc_secret debug/verbose flag. Added ↵Kenny Woodson2017-02-281-2/+2
|/ | | | reencrypt for route.
* [oc_obj] Move namespace argument to end of command.Andrew Butcher2017-02-271-2/+2
|
* Merge pull request #3416 from detiber/combinedTestScott Dodson2017-02-231-5/+34
|\ | | | | lib_openshift - handle cases where oc binary is not in path
| * lib_openshift oc file lookup improvementsJason DeTiberus2017-02-211-14/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Move binary file search to separate method called from constructor - Use six.PY3 instaed of sys.version_info - Combine additional paths with the paths from the environment - For py3 pass the combined paths to shutil.which - For py2 explictly search for existance of file from combined paths instead of using distutils.spawn.find_executable and falling back - Use 'oc adm' instead of 'oadm' - Fix generate_validation test issue - fix tests for oc binary location - add tests for file lookup
| * roles/lib_openshift: Handle /usr/local/bin/oc with sudoColin Walters2017-02-211-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | The real changes here are in `src/lib/{base,import}.py` remember, the rest is committed to git rather than built for some reason. This is tested on CentOS AH (python2), I haven't yet tested the Python 3 path here. I tried the suggestion in the PR for using Ansible's `module` but AFAICS that would require passing down the `module` variable pretty far down into this code. This implementation seems OK too. Closes: https://github.com/openshift/openshift-ansible/issues/3410
* | fix up ruamel.yaml/pyyaml no-member lint errorsJason DeTiberus2017-02-221-36/+42
| |
* | Removed unrequired no-members from yedit and generated codeSteve Milner2017-02-221-5/+22
|/
* String compatibility for python2,3Kenny Woodson2017-02-171-1/+1
|
* Pleasing the linting gods.Kenny Woodson2017-02-161-5/+14
|
* Fixed tests for pyyaml vs ruamel. Added import logic. Fixed safe load.Kenny Woodson2017-02-161-5/+16
|
* Adding fallback support for pyyaml.Kenny Woodson2017-02-161-13/+30
|
* Fix cases where child classes override OpenShiftCLI valuesJason DeTiberus2017-02-131-1/+1
|
* Added temporary kubeconfig file. Fixed tests to coincide with tmpfile.Kenny Woodson2017-02-081-2/+2
|
* Adding code to copy kubeconfig before running oc commands.Kenny Woodson2017-02-081-1/+12
|
* Changed lib_openshift to use real temporary files.Thomas Wiest2017-02-081-17/+37
|
* Added oc_serviceaccount_secret to lib_openshift.Thomas Wiest2017-02-061-8/+15
|
* Adding unit test for oc_service. Added environment fix for non-standard oc ↵Kenny Woodson2017-01-311-3/+5
| | | | installs.
* Added oc_serviceaccount to lib_openshift.Thomas Wiest2017-01-301-8/+15
|
* Fixing docs. Added bugzilla to doc.Kenny Woodson2017-01-291-2/+3
|
* Fixing linters.Kenny Woodson2017-01-261-5/+9
|
* Fixing base.py for node and scale. Autogenerated code.Kenny Woodson2017-01-261-4/+2
|
* Added unit integration tests. Enhanced unit tests. Fixed an issue in ↵Kenny Woodson2017-01-261-7/+20
| | | | openshift_cmd for namespace.
* Adding oadm_manage_node to lib_openshift.Kenny Woodson2017-01-261-0/+1461