summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/src/class
Commit message (Collapse)AuthorAgeFilesLines
* ignore 'users' field in oc_group moduleJoel Diaz2018-01-251-1/+1
| | | | | | | | | | | | | 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
* Bug 1512793- Fix idempotence issues in ASB deployFabian von Feilitzsch2017-11-281-1/+3
| | | | | | | - 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
* Merge pull request #5729 from kwoodson/cluster_autoscalerOpenShift Merge Robot2017-11-161-0/+4
|\ | | | | | | | | | | | | | | | | | | | | 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-111-0/+4
| |
* | Fix broken oc_secret update functionRastislav Barlik2017-10-281-1/+1
| |
* | Do not remove files for bootstrap if resolv or dns.Kenny Woodson2017-10-171-2/+14
|/
* Update ansible-service-broker config to track latest brokerFabian von Feilitzsch2017-10-022-2/+2
| | | | | | | | | | | | | 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
* 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.
* | First attempt at creating the cert signer.Kenny Woodson2017-08-211-0/+197
| |
* | 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
| |
* | add selector and storage class name to oc_pvc moduleJeff Cantrill2017-07-271-0/+2
|/
* Fixed spacing and lint errors.Kenny Woodson2017-07-171-2/+2
|
* Fixed tests and added sleep for update.Kenny Woodson2017-07-141-0/+1
|
* Fixing needs_update comparison. Added a small pause for race conditions. ↵Kenny Woodson2017-07-141-5/+12
| | | | Fixed doc. Fix kind to storageclass
* Adding storageclass support to lib_openshift.Kenny Woodson2017-07-141-0/+147
|
* 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-071-5/+9
|/ | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* oc_secret: allow for specifying secret typeJose A. Rivera2017-05-311-0/+7
| | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* add support for oc_service for labels, externalIPsRich Megginson2017-05-303-3/+6
| | | | | | | | | | | | 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_process: Better error output on failed template() callJose A. Rivera2017-05-191-1/+1
| | | | 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/+4
| | | | | 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
| |
* | Updating oc_obj to use get instead of getattrewolinetz2017-05-081-1/+1
| |
* | 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
* | oc_obj: Allow for multiple kinds in deleteJose A. Rivera2017-04-211-6/+3
|/ | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* Adding module calls instead of command for idempotency.Kenny Woodson2017-04-192-2/+6
|
* 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-065-21/+30
|\ | | | | 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-1/+1
| |
| * FixedKenny Woodson2017-04-051-1/+1
| | | | | | | | name and selector to be mutually exclusive
| * Adding ability to delete by selector.Kenny Woodson2017-04-054-12/+9
| |
| * 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 #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
|/
* Merge pull request #3786 from kwoodson/oc_clusterroleScott Dodson2017-03-301-0/+163
|\ | | | | Add oc_clusterrole to lib_openshift.