summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/library
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #4091 from richm/oc_service-labels-externalIPsScott Dodson2017-05-3127-230/+649
|\ \ | | | | | | add support for oc_service for labels, externalIPs
| * | add support for oc_service for labels, externalIPsRich Megginson2017-05-3027-230/+649
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 commandSteve Milner2017-05-251-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=noSteve Milner2017-05-251-1/+3
|/ /
* | Merge pull request #4244 from jarrpa/oc_process-errOpenShift Bot2017-05-241-1/+1
|\ \ | | | | | | Merged by openshift-bot
| * | oc_process: Better error output on failed template() callJose A. Rivera2017-05-191-1/+1
| | | | | | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* | | lib/base: Allow for more complex template paramsJose A. Rivera2017-05-1927-27/+27
|/ / | | | | | | | | | | | | 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 Butcher2017-05-151-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-namespacesOpenShift Bot2017-05-121-0/+2
|\ \ | | | | | | Merged by openshift-bot
| * | Reserve kubernetes and 'kubernetes-' prefixed namespacesJordan Liggitt2017-04-271-0/+2
| | |
* | | Merge pull request #4156 from mwoodson/fix_yedit_sepsOpenShift Bot2017-05-1127-27/+27
|\ \ \ | | | | | | | | Merged by openshift-bot
| * | | Fix for yedit custom separatorsMatt Woodson2017-05-1027-27/+27
| | | |
* | | | Merge pull request #3967 from jarrpa/oc_volume-docOpenShift Bot2017-05-101-0/+12
|\ \ \ \ | |/ / / |/| | | Merged by openshift-bot
| * | | oc_volume: Add missing parameter documentationJose A. Rivera2017-04-211-0/+12
| | | | | | | | | | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* | | | Updating oc_obj to use get instead of getattrewolinetz2017-05-081-1/+1
| | | |
* | | | Allow oc_ modules to pass unicode resultsRussell Teague2017-05-0327-27/+27
| | | |
* | | | Merge pull request #4003 from lhuard1A/fix_registry_ose_3.2OpenShift Bot2017-04-281-16/+25
|\ \ \ \ | |_|/ / |/| | | Merged by openshift-bot
| * | | Fix OpenShift registry deployment on OSE 3.2Lénaïc Huard2017-04-251-16/+25
| | | | | | | | | | | | | | | | Fix #4000
* | | | Merge pull request #3968 from jarrpa/oc_obj-kindsOpenShift Bot2017-04-251-7/+4
|\ \ \ \ | | | | | | | | | | Merged by openshift-bot
| * | | | oc_obj: Allow for multiple kinds in deleteJose A. Rivera2017-04-211-7/+4
| |/ / / | | | | | | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* | | | Removing resource version to remove object conflicts caused by race conditions.Kenny Woodson2017-04-2127-0/+189
|/ / /
* | | Adding module calls instead of command for idempotency.Kenny Woodson2017-04-192-6/+10
|/ /
* | Fixing a compatibility issue with python 2.7 to 3.5 when reading from ↵Kenny Woodson2017-04-101-1/+1
| | | | | | | | subprocess.
* | Fixed a bug when oc command fails.Kenny Woodson2017-04-061-1/+1
| |
* | Merge pull request #3840 from kwoodson/oc_obj_delete_selectorScott Dodson2017-04-0627-481/+598
|\ \ | | | | | | Adding ability to delete by selector. Also variable name cleanup and update to use .format.
| * | Fixed a string format and a lint space issueKenny Woodson2017-04-051-2/+2
| | |
| * | FixedKenny Woodson2017-04-052-2/+2
| | | | | | | | | | | | name and selector to be mutually exclusive
| * | Adding ability to delete by selector.Kenny Woodson2017-04-0527-471/+576
| | |
| * | Adding delete with selector support.Kenny Woodson2017-04-051-12/+24
| | |
* | | Merge pull request #3821 from kwoodson/default_router_certOpenShift Bot2017-04-051-0/+3
|\ \ \ | |/ / |/| | Merged by openshift-bot
| * | Adding signed router cert and fixing server_cert bug.Kenny Woodson2017-04-041-0/+3
| | |
* | | Merge pull request #3850 from kwoodson/skip_generated_tcOpenShift Bot2017-04-0527-81/+81
|\ \ \ | | | | | | | | Merged by openshift-bot
| * | | Removing test coverage for shared code.Kenny Woodson2017-04-0427-81/+81
| |/ /
* | | Merge pull request #3841 from jarrpa/oc_label-get-fixOpenShift Bot2017-04-041-2/+2
|\ \ \ | | | | | | | | Merged by openshift-bot
| * | | oc_label: handle case where _get() returns no resultsJose A. Rivera2017-04-031-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* | | | Merge pull request #3837 from jarrpa/oc_configmap-checkOpenShift Bot2017-04-041-0/+4
|\ \ \ \ | |_|/ / |/| | | Merged by openshift-bot
| * | | oc_configmap: Add missing check for nameJose A. Rivera2017-04-031-0/+4
| |/ / | | | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* | | Fixed a bug. Ansible requires a msg param when module.fail_json.Kenny Woodson2017-04-031-6/+6
|/ /
* | Fix generated codeScott Dodson2017-03-311-77/+120
| |
* | Merge pull request #3786 from kwoodson/oc_clusterroleScott Dodson2017-03-301-0/+1760
|\ \ | | | | | | Add oc_clusterrole to lib_openshift.
| * | Fixed spacing.Kenny Woodson2017-03-291-3/+3
| | |
| * | Fixed docs. Fixed add_resource.Kenny Woodson2017-03-291-5/+6
| | |
| * | Fixing linting for spaces.Kenny Woodson2017-03-291-4/+4
| | |
| * | Adding clusterrole to the toolbox.Kenny Woodson2017-03-281-0/+1759
| | |
* | | Merge pull request #3628 from kwoodson/yedit_editsOpenShift Bot2017-03-3026-2003/+3121
|\ \ \ | | | | | | | | Merged by openshift-bot
| * | | Fixed a bug in oc_volume.Kenny Woodson2017-03-2826-669/+775
| | | |
| * | | Adding a few more test cases. Fixed a bug when key was empty. Safeguard ↵Kenny Woodson2017-03-2823-1449/+2461
| |/ / | | | | | | | | | against yedit module being passed an empty key
* | | oc_adm_ca_server_cert.py: re-generate.Slava Semushin2017-03-291-0/+8
|/ /
* | Merge pull request #3758 from kwoodson/ocimageOpenShift Bot2017-03-271-0/+1486
|\ \ | | | | | | Merged by openshift-bot
| * | Adding namespace to doc.Kenny Woodson2017-03-231-1/+7
| | |