Browse Source

Specify default namespace when creating router

In case we have switched projects before running ansible.
Patrick Tescher 9 years ago
parent
commit
90be1dd3b0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      roles/openshift_router/tasks/main.yml

+ 1 - 0
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