diff options
author | Brenton Leanhardt <bleanhar@redhat.com> | 2016-04-12 14:12:25 -0400 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2016-04-12 14:12:25 -0400 |
commit | e284ee1c2dba7f6ceeedf8af4adc60a795721166 (patch) | |
tree | 7733fb6d89df77d42c2fdb10467a8d9a43bc8c99 /roles/openshift_hosted/README.md | |
parent | 1ebd068ceaf1bb10af4de149f5474327a607760f (diff) | |
parent | 4ac07696f3db92d1361290c3a0d7b7637d3d1994 (diff) | |
download | openshift-e284ee1c2dba7f6ceeedf8af4adc60a795721166.tar.gz openshift-e284ee1c2dba7f6ceeedf8af4adc60a795721166.tar.bz2 openshift-e284ee1c2dba7f6ceeedf8af4adc60a795721166.tar.xz openshift-e284ee1c2dba7f6ceeedf8af4adc60a795721166.zip |
Merge pull request #1705 from abutcher/secure-router
Add support for creating secure router
Diffstat (limited to 'roles/openshift_hosted/README.md')
-rw-r--r-- | roles/openshift_hosted/README.md | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/roles/openshift_hosted/README.md b/roles/openshift_hosted/README.md new file mode 100644 index 000000000..633ec0937 --- /dev/null +++ b/roles/openshift_hosted/README.md @@ -0,0 +1,55 @@ +OpenShift Hosted +================ + +OpenShift Hosted Resources + +* OpenShift Router + +Requirements +------------ + +This role requires a running OpenShift cluster with nodes labeled to +match the openshift_hosted_router_selector (default: region=infra). + +Role Variables +-------------- + +From this role: + +| Name | Default value | Description | +|-------------------------------------|------------------------------------------|----------------------------------------------------------------------------------------------------------------------| +| openshift_hosted_router_certificate | None | Dictionary containing "certfile" and "keyfile" keys with values containing paths to local certificate files. | +| openshift_hosted_router_registryurl | 'openshift3/ose-${component}:${version}' | The image to base the OpenShift router on. | +| openshift_hosted_router_replicas | Number of nodes matching selector | The number of replicas to configure. | +| openshift_hosted_router_selector | region=infra | Node selector used when creating router. The OpenShift router will only be deployed to nodes matching this selector. | + +Dependencies +------------ + +* openshift_common +* openshift_hosted_facts + +Example Playbook +---------------- + +``` +- name: Create hosted resources + hosts: oo_first_master + roles: + - role: openshift_hosted + openshift_hosted_router_certificate: + certfile: /path/to/my-router.crt + keyfile: /path/to/my-router.key + openshift_hosted_router_registryurl: 'registry.access.redhat.com/openshift3/ose-haproxy-router:v3.0.2.0' + openshift_hosted_router_selector: 'type=infra' +``` + +License +------- + +Apache License, Version 2.0 + +Author Information +------------------ + +Red Hat openshift@redhat.com |