From fd5e13fd2780db205eabb401e808be3195ca4dbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Mon, 20 May 2019 09:37:49 +0200 Subject: [PATCH] enable wildcard routes --- playbooks/post-install.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/playbooks/post-install.yml b/playbooks/post-install.yml index 1b48d02..e46d217 100644 --- a/playbooks/post-install.yml +++ b/playbooks/post-install.yml @@ -3,5 +3,10 @@ - name: Complete the OpenShift installation hosts: itix become: yes + pre_tasks: + - name: Enable the wildcard routes on the OpenShift router + command: oc set env -n default dc/router ROUTER_ALLOW_WILDCARD_ROUTES=true + - name: Restart the router + command: oc rollout latest -n default dc/router roles: - { name: 'hostpath-provisioner', tags: 'hostpath-provisioner' }