summaryrefslogtreecommitdiff
path: root/roles/lib_openshift/library
AgeCommit message (Collapse)Author
2018-02-14Merge pull request #7135 from abutcher/node-accept-failOpenShift Merge Robot
Automatic merge from submit-queue. oc_adm_csr: allow requesting module failure when timeout reached
2018-02-13Adding ability to yedit json files.Kenny Woodson
2018-02-13oc_adm_csr: Add fail_on_timeout parameter which causes module to fail when ↵Andrew Butcher
timeout was reached.
2018-01-31Fixing file write issue.Kenny Woodson
2018-01-25ignore 'users' field in oc_group moduleJoel Diaz
oc_group doesn't manage the list of users assigned to a group (oc_user does). so when doing an oc_group: state: present name: groupA on a pre-existing group 'groupA' with already defined users, oc_group would detect a difference an blow away the existing users fix this by adding 'users' to the list of fields to ignore when determining whether there are object differences
2018-01-02Updating logging_facts to be able to pull values from config maps yaml ↵Eric Wolinetz
files, use diffs to keep custom changes, white list certain settings when creating diffs
2017-12-01Merge pull request #6277 from fabianvf/asb-idempotence-cpickScott Dodson
Bug 1512793- Fix idempotence issues in ASB deploy
2017-11-28Fix no_log warnings for custom moduleMichael Gugino
We need to set no_log for password and private_key variables.
2017-11-28Bug 1512793- Fix idempotence issues in ASB deployFabian von Feilitzsch
- Add support for annotations in oc_service - Use oc_service instead of oc_obj - Use oc_pvc instead of oc_obj - Work around lack of idempotency for oc_obj DeploymentConfig
2017-11-16Merge pull request #5729 from kwoodson/cluster_autoscalerOpenShift Merge Robot
Automatic merge from submit-queue. Adding support for cluster-autoscaler. This is the kubernetes cluster-autoscaler role. Features: - Updated lib_openshift to handle --role-namespace when modifying/creating rolebindings for specific namespaced role objects - openshift_cluster_autoscaler role to deploy the autoscaler
2017-11-09removing kind restrictions from oc_editKenny Woodson
2017-11-06Merge pull request #5836 from jkroepke/issue_5835Scott Dodson
Remove provisioner restrictions on oc_storageclass
2017-10-28Fix broken oc_secret update functionRastislav Barlik
2017-10-25Re-generate lib_openshiftJan-Otto Kröpke
2017-10-17Do not remove files for bootstrap if resolv or dns.Kenny Woodson
2017-10-11Adding support for cluster-autoscaler roleKenny Woodson
2017-10-04Merge pull request #5314 from fabianvf/asb-config-updateOpenShift Merge Robot
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.
2017-10-02Update ansible-service-broker config to track latest brokerFabian von Feilitzsch
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
2017-09-29lib/base: Allow for empty option valueJose A. Rivera
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2017-09-20Returning actual results of yedit query. Empty list was returning empty dict.Kenny Woodson
2017-09-05Merge pull request #3536 from giuseppe/system-containers-skopeoOpenShift Bot
Merged by openshift-bot
2017-08-29Merge pull request #4887 from zgalor/fix_oc_route_certificate_validationScott Dodson
Only validate certificates that are passed to oc_route
2017-08-23Fix generated contentScott Dodson
2017-08-23Merge pull request #5112 from kwoodson/oc_adm_csrScott Dodson
Adding oc_adm_csr to lib_openshift for node approvals
2017-08-21First attempt at creating the cert signer.Kenny Woodson
2017-08-16add dnf support to roles/openshift_health_checker/library/aos_version.pyAdam Miller
Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
2017-08-15Merge pull request #5006 from ivanhorvath/ocobjdumperScott Dodson
adding check to a yaml dump to work properly with new ruamel lib
2017-08-10Error check project creation.Kenny Woodson
2017-08-09adding check to a yaml dump to work properly with new ruamel libIvan Horvath
2017-08-01Only validate certificates that are passed to oc_routeZohar Galor
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.
2017-07-29Merge pull request #4933 from kwoodson/policy_to_bindingOpenShift Bot
Merged by openshift-bot
2017-07-28Merge pull request #4879 from jcantrill/oc_pvcOpenShift Bot
Merged by openshift-bot
2017-07-28Remove cluster in favor of rolebindings.Kenny Woodson
2017-07-27add selector and storage class name to oc_pvc moduleJeff Cantrill
2017-07-24Remove default provisioner.Kenny Woodson
2017-07-17Fixed spacing and lint errors.Kenny Woodson
2017-07-14Fixed tests and added sleep for update.Kenny Woodson
2017-07-14Fixing needs_update comparison. Added a small pause for race conditions. ↵Kenny Woodson
Fixed doc. Fix kind to storageclass
2017-07-14Adding storageclass support to lib_openshift.Kenny Woodson
2017-06-26oc_atomic_container: use rpm to check the version.Giuseppe Scrivano
Some versions of atomic report their version wrong. Use rpm to check it. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2017-06-19oc_atomic_container: Require 1.17.2Steve Milner
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
2017-06-14First POC of a CFME turnkey solution in openshift-anisbleTim Bielawa
2017-06-13Merge pull request #4381 from jarrpa/non-zero-parseOpenShift Bot
Merged by openshift-bot
2017-06-13Merge pull request #4380 from jarrpa/oc_obj-fixesOpenShift Bot
Merged by openshift-bot
2017-06-08lib/base: allow for results parsing on non-zero return codeJose A. Rivera
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>
2017-06-07oc_secret: allow use of force for secret typeJose A. Rivera
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2017-06-06oc_obj: set _delete() rc to 0 if err is 'not found'Jose A. Rivera
When deleting multiple objects, allow for some resources to already be absent. Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2017-06-06oc_obj: only check 'items' if exists in deleteJose A. Rivera
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2017-05-31oc_secret: allow for specifying secret typeJose A. Rivera
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2017-05-31Merge pull request #4091 from richm/oc_service-labels-externalIPsScott Dodson
add support for oc_service for labels, externalIPs