From 90be1dd3b04a9c24ee9e7da8bd5511ef2985ef65 Mon Sep 17 00:00:00 2001 From: Patrick Tescher Date: Tue, 9 Feb 2016 15:26:41 -0800 Subject: Specify default namespace when creating router In case we have switched projects before running ansible. --- roles/openshift_router/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'roles/openshift_router') 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 -- cgit v1.2.3