diff options
author | Andrew Butcher <abutcher@redhat.com> | 2016-04-11 15:45:26 -0400 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2016-04-11 15:45:26 -0400 |
commit | 4ac07696f3db92d1361290c3a0d7b7637d3d1994 (patch) | |
tree | 58ec00b29f982a9cd78b80bcf4aed1763a91bec3 /roles/openshift_router/tasks | |
parent | 1bc6b51585c23670fdc08a1df6a89d35cd0b8149 (diff) | |
download | openshift-4ac07696f3db92d1361290c3a0d7b7637d3d1994.tar.gz openshift-4ac07696f3db92d1361290c3a0d7b7637d3d1994.tar.bz2 openshift-4ac07696f3db92d1361290c3a0d7b7637d3d1994.tar.xz openshift-4ac07696f3db92d1361290c3a0d7b7637d3d1994.zip |
Add support for creating secure router.
* Move openshift_router to openshift_hosted role which will eventually
contain registry, metrics and logging.
* Adds option for specifying an openshift_hosted_router_certificate
cert and key pair.
* Removes dependency on node label variables and retrieves the node
list from the API s.t. this role can be applied to any cluster with
existing nodes. I've added an openshift_hosted playbook that occurs
after node install to account for this.
* Infrastructure nodes are selected using
openshift_hosted_router_selector which is based on deployment type
by default; openshift-enterprise -> "region=infra" and online ->
"type=infra".
Diffstat (limited to 'roles/openshift_router/tasks')
-rw-r--r-- | roles/openshift_router/tasks/main.yml | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/roles/openshift_router/tasks/main.yml b/roles/openshift_router/tasks/main.yml deleted file mode 100644 index 40365d04d..000000000 --- a/roles/openshift_router/tasks/main.yml +++ /dev/null @@ -1,10 +0,0 @@ ---- -- name: Deploy OpenShift Router - command: > - {{ openshift.common.admin_binary }} router - --create --replicas={{ openshift.master.infra_nodes | length }} - --namespace=default - --service-account=router {{ ortr_selector }} - --credentials={{ openshift_master_config_dir }}/openshift-router.kubeconfig {{ ortr_images }} - register: ortr_results - changed_when: "'service exists' not in ortr_results.stdout" |