summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #7135 from abutcher/node-accept-failOpenShift Merge Robot2018-02-142-0/+14
|\ | | | | | | | | Automatic merge from submit-queue. oc_adm_csr: allow requesting module failure when timeout reached
| * oc_adm_csr: Add fail_on_timeout parameter which causes module to fail when ↵Andrew Butcher2018-02-132-0/+14
| | | | | | | | timeout was reached.
* | Adding ability to yedit json files.Kenny Woodson2018-02-1329-174/+522
|/
* Fixing file write issue.Kenny Woodson2018-01-3130-30/+30
|
* ignore 'users' field in oc_group moduleJoel Diaz2018-01-252-2/+2
| | | | | | | | | | | | | 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
* Merge pull request #6587 from vrutkovs/test-coverageOpenShift Merge Robot2018-01-081-7/+344
|\ | | | | | | | | | | | | | | Automatic merge from submit-queue. Add more testcases for oc_scale module * Fixed docstrings for tests * Added tests to verify scale up/down, 'present' state, non-existant state and Replication Controller kind
| * test_oc_scale: add more scale test casesVadim Rutkovsky2018-01-021-0/+337
| |
| * test_oc_scale: fix test docstringsVadim Rutkovsky2018-01-021-7/+7
| |
* | Updating logging_facts to be able to pull values from config maps yaml ↵Eric Wolinetz2018-01-021-0/+74
|/ | | | files, use diffs to keep custom changes, white list certain settings when creating diffs
* Merge pull request #6277 from fabianvf/asb-idempotence-cpickScott Dodson2017-12-018-2/+44
|\ | | | | Bug 1512793- Fix idempotence issues in ASB deploy
| * Bug 1512793- Fix idempotence issues in ASB deployFabian von Feilitzsch2017-11-288-2/+44
| | | | | | | | | | | | | | - 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
* | Fix no_log warnings for custom moduleMichael Gugino2017-11-282-6/+6
|/ | | | | We need to set no_log for password and private_key variables.
* Merge pull request #5729 from kwoodson/cluster_autoscalerOpenShift Merge Robot2017-11-164-0/+38
|\ | | | | | | | | | | | | | | | | | | | | 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
| * Adding support for cluster-autoscaler roleKenny Woodson2017-10-114-0/+38
| |
* | removing kind restrictions from oc_editKenny Woodson2017-11-092-28/+2
| |
* | Merge pull request #5836 from jkroepke/issue_5835Scott Dodson2017-11-062-2/+2
|\ \ | | | | | | Remove provisioner restrictions on oc_storageclass
| * | Re-generate lib_openshiftJan-Otto Kröpke2017-10-251-1/+1
| | |
| * | Remove provisioner restrictions on oc_storageclassJan-Otto Kröpke2017-10-221-1/+1
| | |
* | | Fix broken oc_secret update functionRastislav Barlik2017-10-282-2/+2
|/ /
* / Do not remove files for bootstrap if resolv or dns.Kenny Woodson2017-10-172-4/+28
|/
* Merge pull request #5314 from fabianvf/asb-config-updateOpenShift Merge Robot2017-10-0413-10/+69
|\ | | | | | | | | | | | | | | | | 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-0213-10/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-2930-30/+30
|/ | | | 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)
* Merge pull request #5476 from kwoodson/yedit_list_fixOpenShift Merge Robot2017-09-2229-29/+29
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue Returning actual results of yedit query. Empty list was returning empty dict. This is a simple change but since code generation happens it affects lots of files. The only change that is happening here is the following: ``` - rval = yamlfile.get(params['key']) or {}  + rval = yamlfile.get(params['key']) ``` When something returned as 0, [], or None the query would return {}. This was unintended.
| * Returning actual results of yedit query. Empty list was returning empty dict.Kenny Woodson2017-09-2029-29/+29
| |
* | 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-052-4/+4
|\ | | | | Merged by openshift-bot
| * oc_atomic_container: support Skopeo outputGiuseppe Scrivano2017-03-022-4/+4
| | | | | | | | | | | | | | | | 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-292-10/+4
|\ \ | | | | | | Only validate certificates that are passed to oc_route
| * | Only validate certificates that are passed to oc_routeZohar Galor2017-08-012-10/+4
| | | | | | | | | | | | | | | | | | 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.
* | | Fix generated contentScott Dodson2017-08-231-5/+4
| | |
* | | Merge pull request #5112 from kwoodson/oc_adm_csrScott Dodson2017-08-236-0/+2001
|\ \ \ | | | | | | | | Adding oc_adm_csr to lib_openshift for node approvals
| * | | First attempt at creating the cert signer.Kenny Woodson2017-08-216-0/+2001
| | | |
* | | | add dnf support to roles/openshift_health_checker/library/aos_version.pyAdam Miller2017-08-1629-145/+116
|/ / / | | | | | | | | | Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
* | | Merge pull request #5006 from ivanhorvath/ocobjdumperScott Dodson2017-08-152-2/+20
|\ \ \ | | | | | | | | 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-092-2/+20
| |/ /
* / / Error check project creation.Kenny Woodson2017-08-102-0/+6
|/ /
* | Merge pull request #4933 from kwoodson/policy_to_bindingOpenShift Bot2017-07-296-92/+88
|\ \ | | | | | | Merged by openshift-bot
| * | Remove cluster in favor of rolebindings.Kenny Woodson2017-07-286-92/+88
| | |
* | | Merge pull request #4879 from jcantrill/oc_pvcOpenShift Bot2017-07-287-10/+177
|\ \ \ | |/ / |/| | Merged by openshift-bot
| * | add selector and storage class name to oc_pvc moduleJeff Cantrill2017-07-277-10/+177
| | |
* | | Remove default provisioner.Kenny Woodson2017-07-243-12/+6
|/ /
* | Fixed spacing and lint errors.Kenny Woodson2017-07-173-6/+8
| |
* | Fixed tests and added sleep for update.Kenny Woodson2017-07-143-2/+4
| |
* | Fixing needs_update comparison. Added a small pause for race conditions. ↵Kenny Woodson2017-07-144-18/+38
| | | | | | | | Fixed doc. Fix kind to storageclass
* | Adding storageclass support to lib_openshift.Kenny Woodson2017-07-148-0/+2204
| |
* | oc_atomic_container: use rpm to check the version.Giuseppe Scrivano2017-06-262-2/+2
| | | | | | | | | | | | | | 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-192-4/+22
| | | | | | | | | | | | | | 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-142-4/+4
| |