summaryrefslogtreecommitdiffstats
path: root/roles/openshift_router
diff options
context:
space:
mode:
authorPatrick Tescher <pat2man@gmail.com>2016-02-09 15:26:41 -0800
committerPatrick Tescher <pat2man@gmail.com>2016-02-09 15:26:41 -0800
commit90be1dd3b04a9c24ee9e7da8bd5511ef2985ef65 (patch)
treee11bdc8c0be0ae7e66a37be81258750c2dddd7e1 /roles/openshift_router
parent39fc2154a5ba751b1a1550486fe33943019e8528 (diff)
downloadopenshift-90be1dd3b04a9c24ee9e7da8bd5511ef2985ef65.tar.gz
openshift-90be1dd3b04a9c24ee9e7da8bd5511ef2985ef65.tar.bz2
openshift-90be1dd3b04a9c24ee9e7da8bd5511ef2985ef65.tar.xz
openshift-90be1dd3b04a9c24ee9e7da8bd5511ef2985ef65.zip
Specify default namespace when creating router
In case we have switched projects before running ansible.
Diffstat (limited to 'roles/openshift_router')
-rw-r--r--roles/openshift_router/tasks/main.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/openshift_router/tasks/main.yml b/roles/openshift_router/tasks/main.yml
index 355cbf84b..40365d04d 100644
--- a/roles/openshift_router/tasks/main.yml
+++ b/roles/openshift_router/tasks/main.yml
@@ -3,6 +3,7 @@
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