summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix to OpenshiftCLIConfig to support an ordereddict. This was breaking test ↵Kenny Woodson2017-03-072-1/+2
| | | | cases.
* Fixed docs. Added check for delete failures. Updated namespace to None.Kenny Woodson2017-03-061-7/+8
|
* Fixing lintersKenny Woodson2017-03-061-0/+2
|
* Adding oc_project to lib_openshift.Kenny Woodson2017-03-061-0/+82
|
* oadm_policy_group/adm_policy_user modulejupierce2017-03-021-0/+218
|
* Merge pull request #3493 from kwoodson/registry_reencyrpt_routeScott Dodson2017-03-012-2/+7
|\ | | | | Adding support for a route with reencrypt and certificates.
| * Modified base debug statements. Fixed oc_secret debug/verbose flag. Added ↵Kenny Woodson2017-02-282-2/+7
| | | | | | | | reencrypt for route.
* | Add 'persistentVolumeClaim' to volume_info typeRussell Teague2017-02-281-4/+5
|/
* [oc_obj] Move namespace argument to end of command.Andrew Butcher2017-02-271-2/+2
|
* Fixed indentationKenny Woodson2017-02-241-1/+1
|
* Adding get_env_var to deploymentconfig.Kenny Woodson2017-02-241-12/+12
|
* Fixed default variables. Added a fix to generated secret in env var.Kenny Woodson2017-02-241-0/+12
|
* 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-212-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-212-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-222-2/+0
| |
* | Removed unrequired no-members from yedit and generated codeSteve Milner2017-02-221-0/+2
|/
* Fixing docs. Fixed default_cert suggestion.Kenny Woodson2017-02-203-5/+19
|
* Renamed modules, fixed docs, renamed variables, and cleaned up logic.Kenny Woodson2017-02-206-11/+16
|
* Adding router and registry to lib_openshift.Kenny Woodson2017-02-202-0/+312
|
* Replace has_key in new modulesSteve Milner2017-02-201-1/+1
| | | | | | | The dict.has_key has been removed in Python 3. However, both Python 2 and 3 support: if needle in dict
* String compatibility for python2,3Kenny Woodson2017-02-171-1/+1
|
* Pleasing the linting gods.Kenny Woodson2017-02-161-0/+3
|
* Fixed tests for pyyaml vs ruamel. Added import logic. Fixed safe load.Kenny Woodson2017-02-162-3/+14
|
* Merge pull request #3283 from kwoodson/router_portKenny Woodson2017-02-081-5/+19
|\ | | | | Adding test cases. Adding support for specifying port on route.
| * Adding port support for route.Kenny Woodson2017-02-081-5/+19
| |
* | 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-082-17/+37
|
* Fixing copy pasta comments. Fixed required in docs.Kenny Woodson2017-02-011-2/+2
|
* Fixing for tox tests. (flake8|pylint)Kenny Woodson2017-01-311-0/+2
|
* Adding unit test for oc_service. Added environment fix for non-standard oc ↵Kenny Woodson2017-01-311-3/+5
| | | | installs.
* Adding oc_service to lib_openshift.Kenny Woodson2017-01-311-0/+124
|
* Added oc_serviceaccount to lib_openshift.Thomas Wiest2017-01-302-8/+144
|
* Added unit integration tests. Enhanced unit tests. Fixed an issue in ↵Kenny Woodson2017-01-261-1/+1
| | | | openshift_cmd for namespace.
* Fixing tests and linting.Kenny Woodson2017-01-252-13/+17
|
* Adding integration test for oc_scale.Kenny Woodson2017-01-253-3/+353
|
* Added oc_secret to lib_openshift.Thomas Wiest2017-01-251-0/+99
|
* Adding version to lib_openshiftKenny Woodson2017-01-202-13/+88
|
* Adding oc_obj to the lib_openshift libraryKenny Woodson2017-01-181-6/+18
|
* Adding a few updates for python27,35 compatibilityKenny Woodson2017-01-181-4/+4
|
* Adding oc_edit module to lib_openshift.Kenny Woodson2017-01-173-36/+36
|
* lib_openshift modules. This is the first one. oc_route.Kenny Woodson2017-01-133-0/+575