diff options
author | Patrick Tescher <pat2man@gmail.com> | 2016-02-09 15:26:41 -0800 |
---|---|---|
committer | Patrick Tescher <pat2man@gmail.com> | 2016-02-09 15:26:41 -0800 |
commit | 90be1dd3b04a9c24ee9e7da8bd5511ef2985ef65 (patch) | |
tree | e11bdc8c0be0ae7e66a37be81258750c2dddd7e1 | |
parent | 39fc2154a5ba751b1a1550486fe33943019e8528 (diff) | |
download | openshift-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.
-rw-r--r-- | roles/openshift_router/tasks/main.yml | 1 |
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 |