summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift
Commit message (Collapse)AuthorAgeFilesLines
* Fixed error handling when oc adm ca create-server-cert fails. Fixed a logic ↵Kenny Woodson2017-03-012-0/+6
| | | | error in secure.
* Merge pull request #3493 from kwoodson/registry_reencyrpt_routeScott Dodson2017-03-0123-143/+245
|\ | | | | Adding support for a route with reencrypt and certificates.
| * Fixed failures on create when objects exist.Kenny Woodson2017-02-284-95/+163
| |
| * Updating delete/recreate with replace --force.Kenny Woodson2017-02-283-18/+10
| |
| * Fixed logic error. Ensure both svc and dc exist.Kenny Woodson2017-02-282-2/+2
| |
| * Modified base debug statements. Fixed oc_secret debug/verbose flag. Added ↵Kenny Woodson2017-02-2821-42/+72
| | | | | | | | reencrypt for route.
| * Adding support for a route with certs and reencrypt.Kenny Woodson2017-02-282-2/+14
| |
* | Merge pull request #3522 from mtnbikenc/pvc-type-fixRussell Teague2017-02-282-8/+10
|\ \ | | | | | | Add 'persistentVolumeClaim' to volume_info type
| * | Add 'persistentVolumeClaim' to volume_info typeRussell Teague2017-02-282-8/+10
| |/
* / lib_openshift: new module atomic_containerGiuseppe Scrivano2017-02-284-0/+382
|/ | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* Re-generate lib_openshiftScott Dodson2017-02-271-40/+92
|
* Merge pull request #3387 from enj/enj/f/sdn_moduleScott Dodson2017-02-276-0/+1935
|\ | | | | Add SDNValidator Module
| * Add SDNValidator ModuleMonis Khan2017-02-216-0/+1935
| | | | | | | | Signed-off-by: Monis Khan <mkhan@redhat.com>
* | [oc_obj] Move namespace argument to end of command.Andrew Butcher2017-02-2722-53/+53
| |
* | Rebased.Kenny Woodson2017-02-244-4/+4
| |
* | Fixed indentationKenny Woodson2017-02-241-1/+1
| |
* | Adding get_env_var to deploymentconfig.Kenny Woodson2017-02-246-66/+68
| |
* | Fixed default variables. Added a fix to generated secret in env var.Kenny Woodson2017-02-247-4/+78
| |
* | Merge pull request #3406 from sdodson/openshift_reposScott Dodson2017-02-231-0/+15
|\ \ | | | | | | Install repos on containerized hosts for python dependencies
| * | add dependency on openshift_reposScott Dodson2017-02-171-0/+15
| | |
* | | Fixing doc for oc_adm_ca_server_cert.Kenny Woodson2017-02-232-4/+4
| | |
* | | Re-generate lib_openshift and lib_utils librariesScott Dodson2017-02-231-5/+34
| | |
* | | Merge pull request #3416 from detiber/combinedTestScott Dodson2017-02-2327-100/+1808
|\ \ \ | | | | | | | | lib_openshift - handle cases where oc binary is not in path
| * | | lib_openshift oc file lookup improvementsJason DeTiberus2017-02-2128-226/+1766
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-2115-56/+224
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Updated for pylint. Fixed create doc.Kenny Woodson2017-02-222-8/+24
| | |
* | | Attempt to handle router preparation errors.Kenny Woodson2017-02-222-6/+16
| | |
* | | Fixing the generate tox tests.Kenny Woodson2017-02-221-33/+56
| | |
* | | Merge pull request #3378 from kwoodson/oadm_caKenny Woodson2017-02-225-0/+1768
|\ \ \ | | | | | | | | Adding oc_adm_ca_server_cert to lib_openshift
| * | | Moving import to local class.Kenny Woodson2017-02-2216-30/+2
| | | |
| * | | Removing reference to oadm. Moved parameter under general params.Kenny Woodson2017-02-222-4/+4
| | | |
| * | | Added backup feature. Fixed a bug with reading the certificate and ↵Kenny Woodson2017-02-2118-24/+90
| | | | | | | | | | | | | | | | verifying names. Added force option.
| * | | Added copy support when modifying cert and key on existenceKenny Woodson2017-02-214-2/+38
| | | |
| * | | Small spacing fix.Kenny Woodson2017-02-212-0/+3
| | | |
| * | | Updated doc and defined defaults for signer_*Kenny Woodson2017-02-214-23/+19
| | | |
| * | | Removing cmd, fixed docs and comments.Kenny Woodson2017-02-203-149/+82
| | | |
| * | | Rename of oadm_ca to oc_adm_ca. Decided to whittle down to the direct call, ↵Kenny Woodson2017-02-205-96/+60
| | | | | | | | | | | | | | | | server_cert.
| * | | Fixing doc.Kenny Woodson2017-02-203-86/+174
| | | |
| * | | Adding oadm_ca to lib_openshift.Kenny Woodson2017-02-205-0/+1710
| | | |
* | | | Merge pull request #3429 from ashcrow/remove-no-memberScott Dodson2017-02-2219-506/+842
|\ \ \ \ | | | | | | | | | | Removed unrequired no-members
| * | | | fix up ruamel.yaml/pyyaml no-member lint errorsJason DeTiberus2017-02-2216-475/+546
| | | | |
| * | | | Removed unrequired no-members from yedit and generated codeSteve Milner2017-02-2216-135/+400
| | |/ / | |/| |
* | | | Added required_together. Added two minor bug fixes for when data is not passed.Kenny Woodson2017-02-225-12/+20
| | | |
* | | | if no key, cert, cacert, or default_cert is passed then do not pass to ocKenny Woodson2017-02-213-4/+22
|/ / /
* | | Removed oadm_ references in doc.Kenny Woodson2017-02-214-4/+4
| | |
* | | Removed unused code. Made tests executable.Kenny Woodson2017-02-2113-50/+12
| | |
* | | Fixing docs. Fixed default_cert suggestion.Kenny Woodson2017-02-2011-72/+173
| | |
* | | Renamed modules, fixed docs, renamed variables, and cleaned up logic.Kenny Woodson2017-02-2018-262/+340
| | |
* | | Renaming registry and router roles to oc_adm_Kenny Woodson2017-02-208-15/+15
| | |
* | | Fixing registry doc and suggestions.Kenny Woodson2017-02-205-114/+172
| | |