Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | oc_atomic_container: use rpm to check the version. | Giuseppe Scrivano | 2017-06-26 | 1 | -1/+1 |
| | | | | | | | Some versions of atomic report their version wrong. Use rpm to check it. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> | ||||
* | oc_atomic_container: Require 1.17.2 | Steve Milner | 2017-06-19 | 1 | -2/+11 |
| | | | | | | | The oc_atomic_container module requires features only available in atomic versions 1.17.2+. Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1461662 | ||||
* | First POC of a CFME turnkey solution in openshift-anisble | Tim Bielawa | 2017-06-14 | 1 | -2/+2 |
| | |||||
* | Merge pull request #4381 from jarrpa/non-zero-parse | OpenShift Bot | 2017-06-13 | 1 | -28/+16 |
|\ | | | | | Merged by openshift-bot | ||||
| * | 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> | ||||
* | | Merge pull request #4380 from jarrpa/oc_obj-fixes | OpenShift Bot | 2017-06-13 | 1 | -2/+8 |
|\ \ | | | | | | | Merged by openshift-bot | ||||
| * | | oc_obj: set _delete() rc to 0 if err is 'not found' | Jose A. Rivera | 2017-06-06 | 1 | -1/+6 |
| | | | | | | | | | | | | | | | | | | | | | When deleting multiple objects, allow for some resources to already be absent. Signed-off-by: Jose A. Rivera <jarrpa@redhat.com> | ||||
| * | | oc_obj: only check 'items' if exists in delete | Jose A. Rivera | 2017-06-06 | 1 | -1/+2 |
| |/ | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com> | ||||
* / | oc_secret: allow use of force for secret type | Jose A. Rivera | 2017-06-07 | 2 | -5/+10 |
|/ | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com> | ||||
* | oc_secret: allow for specifying secret type | Jose A. Rivera | 2017-05-31 | 5 | -2/+20 |
| | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com> | ||||
* | Merge pull request #4091 from richm/oc_service-labels-externalIPs | Scott Dodson | 2017-05-31 | 13 | -18/+282 |
|\ | | | | | add support for oc_service for labels, externalIPs | ||||
| * | add support for oc_service for labels, externalIPs | Rich Megginson | 2017-05-30 | 13 | -18/+282 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | oc_atomic_container: Workaround for invalid json from atomic command | Steve Milner | 2017-05-25 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | When no other containers are present and one attempts to list containers via the atomic command with the --json flag an empty string is returned. If a json.loads is used on this value an error is raised. This change adds a workaround to fall back to '[]' when an empty string is returned from the atomic containers command. | ||||
* | | oc_atomic_container: Hard code system-package=no | Steve Milner | 2017-05-25 | 1 | -1/+3 |
|/ | |||||
* | Merge pull request #4244 from jarrpa/oc_process-err | OpenShift Bot | 2017-05-24 | 1 | -1/+1 |
|\ | | | | | Merged by openshift-bot | ||||
| * | oc_process: Better error output on failed template() call | Jose A. Rivera | 2017-05-19 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com> | ||||
* | | 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> | ||||
* | Filter non-strings from the oc_adm_ca_server_cert hostnames parameter. | Andrew Butcher | 2017-05-15 | 2 | -0/+8 |
| | | | | | This allows the omit filter to be used in the hostnames parameter list which simplifies conditionally added hostnames. | ||||
* | Merge pull request #4030 from liggitt/reserved-namespaces | OpenShift Bot | 2017-05-12 | 1 | -0/+2 |
|\ | | | | | Merged by openshift-bot | ||||
| * | Reserve kubernetes and 'kubernetes-' prefixed namespaces | Jordan Liggitt | 2017-04-27 | 1 | -0/+2 |
| | | |||||
* | | Merge pull request #3967 from jarrpa/oc_volume-doc | OpenShift Bot | 2017-05-10 | 1 | -0/+12 |
|\ \ | | | | | | | Merged by openshift-bot | ||||
| * | | oc_volume: Add missing parameter documentation | Jose A. Rivera | 2017-04-21 | 1 | -0/+12 |
| | | | | | | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com> | ||||
* | | | Merge pull request #4109 from ewolinetz/fix_ocobj_absent | OpenShift Bot | 2017-05-10 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | Merged by openshift-bot | ||||
| * | | | Updating oc_obj to use get instead of getattr | ewolinetz | 2017-05-08 | 1 | -1/+1 |
| | | | | |||||
* | | | | Remove vim configuration from Python files | Rodolfo Carvalho | 2017-05-09 | 1 | -1/+0 |
|/ / / | | | | | | | | | | | | | | | | | | | In a project where contributors are free to use whatever editor they want and we have linting tools that verify the proper formatting of Python files, it should not be required to have a vim-specific line in Python files. | ||||
* | | | Allow oc_ modules to pass unicode results | Russell Teague | 2017-05-03 | 1 | -1/+1 |
| | | | |||||
* | | | Don't double quote when conditions | Scott Dodson | 2017-05-01 | 2 | -2/+2 |
| | | | |||||
* | | | Remove jinja template delimeters from when conditions | Scott Dodson | 2017-05-01 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | In ansible 2.3 "[WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ g_glusterfs_hosts is not defined }}" | ||||
* | | | Merge pull request #4003 from lhuard1A/fix_registry_ose_3.2 | OpenShift Bot | 2017-04-28 | 2 | -17/+26 |
|\ \ \ | |_|/ |/| | | Merged by openshift-bot | ||||
| * | | Fix OpenShift registry deployment on OSE 3.2 | Lénaïc Huard | 2017-04-25 | 2 | -17/+26 |
| | | | | | | | | | | | | Fix #4000 | ||||
* | | | Merge pull request #3968 from jarrpa/oc_obj-kinds | OpenShift Bot | 2017-04-25 | 2 | -7/+4 |
|\ \ \ | | | | | | | | | Merged by openshift-bot | ||||
| * | | | oc_obj: Allow for multiple kinds in delete | Jose A. Rivera | 2017-04-21 | 2 | -7/+4 |
| |/ / | | | | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com> | ||||
* | | | Merge pull request #3973 from kwoodson/remove_resource_version | OpenShift Bot | 2017-04-24 | 1 | -0/+7 |
|\ \ \ | |/ / |/| | | Merged by openshift-bot | ||||
| * | | Removing resource version to remove object conflicts caused by race conditions. | Kenny Woodson | 2017-04-21 | 1 | -0/+7 |
| | | | |||||
* | | | Merge pull request #3944 from pilou-/add_missing_mock_for_oc_binary | OpenShift Bot | 2017-04-21 | 3 | -10/+35 |
|\ \ \ | |/ / |/| | | Merged by openshift-bot | ||||
| * | | Use return_value when value is constant | Pierre-Louis Bonicoli | 2017-04-18 | 1 | -8/+2 |
| | | | | | | | | | | | | Thanks to Tim Bielawa for pointing it out. | ||||
| * | | Add missing mock for locate_oc_binary method | Pierre-Louis Bonicoli | 2017-04-18 | 3 | -6/+37 |
| |/ | | | | | | | | | When locate_oc_binary has not been mocked, the test suite fails when oc executable is available. | ||||
* / | Adding module calls instead of command for idempotency. | Kenny Woodson | 2017-04-19 | 3 | -6/+10 |
|/ | |||||
* | Fixing a compatibility issue with python 2.7 to 3.5 when reading from ↵ | Kenny Woodson | 2017-04-10 | 1 | -1/+1 |
| | | | | subprocess. | ||||
* | Fixed a bug when oc command fails. | Kenny Woodson | 2017-04-06 | 1 | -1/+1 |
| | |||||
* | Merge pull request #3840 from kwoodson/oc_obj_delete_selector | Scott Dodson | 2017-04-06 | 8 | -39/+259 |
|\ | | | | | Adding ability to delete by selector. Also variable name cleanup and update to use .format. | ||||
| * | Fixed a string format and a lint space issue | Kenny Woodson | 2017-04-05 | 2 | -2/+2 |
| | | |||||
| * | Fixed | Kenny Woodson | 2017-04-05 | 2 | -2/+2 |
| | | | | | | | | name and selector to be mutually exclusive | ||||
| * | Adding ability to delete by selector. | Kenny Woodson | 2017-04-05 | 6 | -29/+237 |
| | | |||||
| * | Adding delete with selector support. | Kenny Woodson | 2017-04-05 | 1 | -12/+24 |
| | | |||||
* | | Merge pull request #3821 from kwoodson/default_router_cert | OpenShift Bot | 2017-04-05 | 1 | -0/+3 |
|\ \ | |/ |/| | Merged by openshift-bot | ||||
| * | Adding signed router cert and fixing server_cert bug. | Kenny Woodson | 2017-04-04 | 1 | -0/+3 |
| | | |||||
* | | Merge pull request #3850 from kwoodson/skip_generated_tc | OpenShift Bot | 2017-04-05 | 1 | -0/+9 |
|\ \ | | | | | | | Merged by openshift-bot | ||||
| * | | Removing test coverage for shared code. | Kenny Woodson | 2017-04-04 | 1 | -0/+9 |
| |/ | |||||
* | | Merge pull request #3841 from jarrpa/oc_label-get-fix | OpenShift Bot | 2017-04-04 | 1 | -2/+2 |
|\ \ | | | | | | | Merged by openshift-bot |