summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/src
Commit message (Collapse)AuthorAgeFilesLines
* Do not remove files for bootstrap if resolv or dns.Kenny Woodson2017-10-171-2/+14
|
* Merge pull request #5314 from fabianvf/asb-config-updateOpenShift Merge Robot2017-10-049-5/+34
|\ | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Update broker configuration to track current broker Broker configuration has been drifting from this installer, updated configuration and deployment methods a bit to make it work with the new upstream broker. Note: This will not work well when deploying openshift-enterprise, to deploy openshift-enterprise you will need to use an older checkout of openshift-ansible, or specify the upstream broker + catalog and use a registry other than the RHCC. This is because the configuration for the current upstream broker is incompatible with the downstream broker.
| * Update ansible-service-broker config to track latest brokerFabian von Feilitzsch2017-10-029-5/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | bring ansible service broker up to date with bearer token changes etcd -> 0.0.0.0 add auth information to broker resource in catalog add sandbox role to config simplify defaults add labels to oc_route use new oc_route label field Fix parameter ordering add port back Fix secret syntax
* | lib/base: Allow for empty option valueJose A. Rivera2017-09-291-1/+1
|/ | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* Rename filter_plugins to unique namesRussell Teague2017-09-271-0/+0
| | | | | Filter plugin modules should have unique names to not conflict with core Ansible modules. (Ansible 2.4)
* Cleanup old deployment typesMichael Gugino2017-09-202-5/+5
| | | | | | | | | | | Previously, openshift-ansible supported various types of deployments using the variable "openshift_deployment_type" Currently, openshift-ansible only supports two deployment types, "origin" and "openshift-enterprise". This commit removes all logic and references to deprecated deployment types.
* Merge pull request #3536 from giuseppe/system-containers-skopeoOpenShift Bot2017-09-051-2/+2
|\ | | | | Merged by openshift-bot
| * oc_atomic_container: support Skopeo outputGiuseppe Scrivano2017-03-021-2/+2
| | | | | | | | | | | | | | | | we are working on using Skopeo to copy images to the OSTree storage. The output from atomic will be slightly different. Support also the new version. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | Merge pull request #4887 from zgalor/fix_oc_route_certificate_validationScott Dodson2017-08-291-5/+2
|\ \ | | | | | | Only validate certificates that are passed to oc_route
| * | Only validate certificates that are passed to oc_routeZohar Galor2017-08-011-5/+2
| | | | | | | | | | | | | | | | | | In 3.6 destination ca certifate is not mandatory for tls_termination==reencrypt. Instead of validating that the certificate/key was passed, only validate the content or correct path, before sending request to API.
* | | Merge pull request #5112 from kwoodson/oc_adm_csrScott Dodson2017-08-235-0/+351
|\ \ \ | | | | | | | | Adding oc_adm_csr to lib_openshift for node approvals
| * | | First attempt at creating the cert signer.Kenny Woodson2017-08-215-0/+351
| | | |
* | | | add dnf support to roles/openshift_health_checker/library/aos_version.pyAdam Miller2017-08-161-5/+4
|/ / / | | | | | | | | | Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
* | | Merge pull request #5006 from ivanhorvath/ocobjdumperScott Dodson2017-08-151-1/+10
|\ \ \ | | | | | | | | adding check to a yaml dump to work properly with new ruamel lib
| * | | adding check to a yaml dump to work properly with new ruamel libIvan Horvath2017-08-091-1/+10
| |/ /
* / / Error check project creation.Kenny Woodson2017-08-101-0/+3
|/ /
* | Merge pull request #4933 from kwoodson/policy_to_bindingOpenShift Bot2017-07-293-46/+44
|\ \ | | | | | | Merged by openshift-bot
| * | Remove cluster in favor of rolebindings.Kenny Woodson2017-07-283-46/+44
| | |
* | | Merge pull request #4879 from jcantrill/oc_pvcOpenShift Bot2017-07-286-5/+108
|\ \ \ | |/ / |/| | Merged by openshift-bot
| * | add selector and storage class name to oc_pvc moduleJeff Cantrill2017-07-276-5/+108
| | |
* | | Remove default provisioner.Kenny Woodson2017-07-242-6/+3
|/ /
* | Fixed spacing and lint errors.Kenny Woodson2017-07-172-3/+4
| |
* | Fixed tests and added sleep for update.Kenny Woodson2017-07-142-2/+3
| |
* | Fixing needs_update comparison. Added a small pause for race conditions. ↵Kenny Woodson2017-07-143-9/+19
| | | | | | | | Fixed doc. Fix kind to storageclass
* | Adding storageclass support to lib_openshift.Kenny Woodson2017-07-147-0/+528
| |
* | oc_atomic_container: use rpm to check the version.Giuseppe Scrivano2017-06-261-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.2Steve Milner2017-06-191-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-anisbleTim Bielawa2017-06-141-2/+2
| |
* | Merge pull request #4381 from jarrpa/non-zero-parseOpenShift Bot2017-06-131-28/+16
|\ \ | | | | | | Merged by openshift-bot
| * | lib/base: allow for results parsing on non-zero return codeJose A. Rivera2017-06-081-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-fixesOpenShift Bot2017-06-131-2/+8
|\ \ \ | | | | | | | | Merged by openshift-bot
| * | | oc_obj: set _delete() rc to 0 if err is 'not found'Jose A. Rivera2017-06-061-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 deleteJose A. Rivera2017-06-061-1/+2
| |/ / | | | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* / / oc_secret: allow use of force for secret typeJose A. Rivera2017-06-072-5/+10
|/ / | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* | oc_secret: allow for specifying secret typeJose A. Rivera2017-05-315-2/+20
| | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* | Merge pull request #4091 from richm/oc_service-labels-externalIPsScott Dodson2017-05-3113-18/+282
|\ \ | | | | | | add support for oc_service for labels, externalIPs
| * | add support for oc_service for labels, externalIPsRich Megginson2017-05-3013-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 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-191-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 Butcher2017-05-152-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 #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>
* | | | Merge pull request #4109 from ewolinetz/fix_ocobj_absentOpenShift Bot2017-05-101-1/+1
|\ \ \ \ | | | | | | | | | | Merged by openshift-bot
| * | | | Updating oc_obj to use get instead of getattrewolinetz2017-05-081-1/+1
| | | | |
* | | | | Remove vim configuration from Python filesRodolfo Carvalho2017-05-091-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.