diff options
author | Samuel Padgett <spadgett@redhat.com> | 2018-01-21 08:00:34 -0500 |
---|---|---|
committer | Samuel Padgett <spadgett@redhat.com> | 2018-01-21 08:00:34 -0500 |
commit | 04fe113f750601ce802a4ca89e71a1e789c9053c (patch) | |
tree | 84091778e8fe96ef85948e0fd7c21c5d2ede2e47 /roles | |
parent | b1f728d464e8ac4b80462b3dbaa87c631430368b (diff) | |
download | openshift-04fe113f750601ce802a4ca89e71a1e789c9053c.tar.gz openshift-04fe113f750601ce802a4ca89e71a1e789c9053c.tar.bz2 openshift-04fe113f750601ce802a4ca89e71a1e789c9053c.tar.xz openshift-04fe113f750601ce802a4ca89e71a1e789c9053c.zip |
Bug 1536262: Default console and TSB node selector to openshift_hosted_infra_selector
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1536262
Diffstat (limited to 'roles')
-rw-r--r-- | roles/openshift_web_console/defaults/main.yml | 3 | ||||
-rw-r--r-- | roles/template_service_broker/defaults/main.yml | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/roles/openshift_web_console/defaults/main.yml b/roles/openshift_web_console/defaults/main.yml index 4f395398c..c747f73a8 100644 --- a/roles/openshift_web_console/defaults/main.yml +++ b/roles/openshift_web_console/defaults/main.yml @@ -1,3 +1,2 @@ --- -# TODO: This is temporary and will be updated to use taints and tolerations so that the console runs on the masters -openshift_web_console_nodeselector: {"region":"infra"} +openshift_web_console_nodeselector: "{{ openshift_hosted_infra_selector | default('region=infra') | map_from_pairs }}" diff --git a/roles/template_service_broker/defaults/main.yml b/roles/template_service_broker/defaults/main.yml index c32872d24..3465832cc 100644 --- a/roles/template_service_broker/defaults/main.yml +++ b/roles/template_service_broker/defaults/main.yml @@ -3,4 +3,4 @@ template_service_broker_remove: False template_service_broker_install: True openshift_template_service_broker_namespaces: ['openshift'] -template_service_broker_selector: { "region": "infra" } +template_service_broker_selector: "{{ openshift_hosted_infra_selector | default('region=infra') | map_from_pairs }}" |