Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #4879 from jcantrill/oc_pvc | OpenShift Bot | 2017-07-28 | 1 | -2/+52 |
|\ | | | | | Merged by openshift-bot | ||||
| * | add selector and storage class name to oc_pvc module | Jeff Cantrill | 2017-07-27 | 1 | -2/+52 |
| | | |||||
* | | Remove default provisioner. | Kenny Woodson | 2017-07-24 | 1 | -5/+2 |
|/ | |||||
* | Fixed spacing and lint errors. | Kenny Woodson | 2017-07-17 | 1 | -1/+2 |
| | |||||
* | Fixing needs_update comparison. Added a small pause for race conditions. ↵ | Kenny Woodson | 2017-07-14 | 1 | -3/+6 |
| | | | | Fixed doc. Fix kind to storageclass | ||||
* | Adding storageclass support to lib_openshift. | Kenny Woodson | 2017-07-14 | 1 | -0/+72 |
| | |||||
* | lib/base: allow for results parsing on non-zero return code | Jose A. Rivera | 2017-06-08 | 1 | -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> | ||||
* | oc_secret: allow for specifying secret type | Jose A. Rivera | 2017-05-31 | 1 | -1/+4 |
| | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com> | ||||
* | add support for oc_service for labels, externalIPs | Rich Megginson | 2017-05-30 | 2 | -11/+75 |
| | | | | | | | | | | | | 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 params | Jose A. Rivera | 2017-05-19 | 1 | -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> | ||||
* | Allow oc_ modules to pass unicode results | Russell Teague | 2017-05-03 | 1 | -1/+1 |
| | |||||
* | Removing resource version to remove object conflicts caused by race conditions. | Kenny Woodson | 2017-04-21 | 1 | -0/+7 |
| | |||||
* | Adding module calls instead of command for idempotency. | Kenny Woodson | 2017-04-19 | 1 | -4/+4 |
| | |||||
* | Adding ability to delete by selector. | Kenny Woodson | 2017-04-05 | 1 | -17/+21 |
| | |||||
* | Fixed spacing. | Kenny Woodson | 2017-03-29 | 1 | -3/+3 |
| | |||||
* | Fixed docs. Fixed add_resource. | Kenny Woodson | 2017-03-29 | 2 | -5/+6 |
| | |||||
* | Adding clusterrole to the toolbox. | Kenny Woodson | 2017-03-28 | 2 | -0/+211 |
| | |||||
* | Merge pull request #3345 from joelddiaz/oc_user | OpenShift Bot | 2017-03-27 | 1 | -0/+37 |
|\ | | | | | Merged by openshift-bot | ||||
| * | add oc_user ansible module | Joel Diaz | 2017-03-21 | 1 | -0/+37 |
| | | | | | | | | module to manipulate OpenShift users, and assign group membership to users | ||||
* | | Merge pull request #3698 from kwoodson/oc_pvc | OpenShift Bot | 2017-03-23 | 1 | -0/+167 |
|\ \ | | | | | | | Merged by openshift-bot | ||||
| * | | Adding a pvc create test case. | Kenny Woodson | 2017-03-20 | 1 | -0/+167 |
| |/ | |||||
* | | Adding configmap support. | Kenny Woodson | 2017-03-21 | 1 | -1/+1 |
| | | |||||
* | | Adding configmap support and adding tests. | Kenny Woodson | 2017-03-21 | 1 | -8/+11 |
| | | |||||
* | | Adding oc_volume to lib_openshift. | Kenny Woodson | 2017-03-21 | 1 | -6/+8 |
|/ | |||||
* | Adding oc_group to lib_openshift | Kenny Woodson | 2017-03-20 | 1 | -0/+36 |
| | |||||
* | Fixing variable naming for 35 scoping. | Kenny Woodson | 2017-03-16 | 1 | -3/+3 |
| | |||||
* | Removing ordereddict. Replaced with sorted keys. | Kenny Woodson | 2017-03-08 | 2 | -4/+4 |
| | |||||
* | Fix to OpenshiftCLIConfig to support an ordereddict. This was breaking test ↵ | Kenny Woodson | 2017-03-07 | 2 | -1/+2 |
| | | | | cases. | ||||
* | Fixed docs. Added check for delete failures. Updated namespace to None. | Kenny Woodson | 2017-03-06 | 1 | -7/+8 |
| | |||||
* | Fixing linters | Kenny Woodson | 2017-03-06 | 1 | -0/+2 |
| | |||||
* | Adding oc_project to lib_openshift. | Kenny Woodson | 2017-03-06 | 1 | -0/+82 |
| | |||||
* | oadm_policy_group/adm_policy_user module | jupierce | 2017-03-02 | 1 | -0/+218 |
| | |||||
* | Merge pull request #3493 from kwoodson/registry_reencyrpt_route | Scott Dodson | 2017-03-01 | 2 | -2/+7 |
|\ | | | | | Adding support for a route with reencrypt and certificates. | ||||
| * | Modified base debug statements. Fixed oc_secret debug/verbose flag. Added ↵ | Kenny Woodson | 2017-02-28 | 2 | -2/+7 |
| | | | | | | | | reencrypt for route. | ||||
* | | Add 'persistentVolumeClaim' to volume_info type | Russell Teague | 2017-02-28 | 1 | -4/+5 |
|/ | |||||
* | [oc_obj] Move namespace argument to end of command. | Andrew Butcher | 2017-02-27 | 1 | -2/+2 |
| | |||||
* | Fixed indentation | Kenny Woodson | 2017-02-24 | 1 | -1/+1 |
| | |||||
* | Adding get_env_var to deploymentconfig. | Kenny Woodson | 2017-02-24 | 1 | -12/+12 |
| | |||||
* | Fixed default variables. Added a fix to generated secret in env var. | Kenny Woodson | 2017-02-24 | 1 | -0/+12 |
| | |||||
* | Merge pull request #3416 from detiber/combinedTest | Scott Dodson | 2017-02-23 | 1 | -5/+34 |
|\ | | | | | lib_openshift - handle cases where oc binary is not in path | ||||
| * | lib_openshift oc file lookup improvements | Jason DeTiberus | 2017-02-21 | 2 | -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 sudo | Colin Walters | 2017-02-21 | 2 | -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 errors | Jason DeTiberus | 2017-02-22 | 2 | -2/+0 |
| | | |||||
* | | Removed unrequired no-members from yedit and generated code | Steve Milner | 2017-02-22 | 1 | -0/+2 |
|/ | |||||
* | Fixing docs. Fixed default_cert suggestion. | Kenny Woodson | 2017-02-20 | 3 | -5/+19 |
| | |||||
* | Renamed modules, fixed docs, renamed variables, and cleaned up logic. | Kenny Woodson | 2017-02-20 | 6 | -11/+16 |
| | |||||
* | Adding router and registry to lib_openshift. | Kenny Woodson | 2017-02-20 | 2 | -0/+312 |
| | |||||
* | Replace has_key in new modules | Steve Milner | 2017-02-20 | 1 | -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,3 | Kenny Woodson | 2017-02-17 | 1 | -1/+1 |
| | |||||
* | Pleasing the linting gods. | Kenny Woodson | 2017-02-16 | 1 | -0/+3 |
| |