diff options
author | Jan Wozniak <jwozniak@redhat.com> | 2017-10-17 16:06:37 +0200 |
---|---|---|
committer | Jan Wozniak <jwozniak@redhat.com> | 2017-10-17 16:06:37 +0200 |
commit | 1f766eff01f6016a93fd72ee64cb09a8d54a52f1 (patch) | |
tree | 973c6a3648abea73b96550c3e45ed48000c44779 /roles/openshift_logging_eventrouter | |
parent | 1d75eb325c0dbfd4614ab6e6535d07a2ea3ecbc3 (diff) | |
download | openshift-1f766eff01f6016a93fd72ee64cb09a8d54a52f1.tar.gz openshift-1f766eff01f6016a93fd72ee64cb09a8d54a52f1.tar.bz2 openshift-1f766eff01f6016a93fd72ee64cb09a8d54a52f1.tar.xz openshift-1f766eff01f6016a93fd72ee64cb09a8d54a52f1.zip |
Bug 1501768: fix eventrouter nodeSelector padding
Diffstat (limited to 'roles/openshift_logging_eventrouter')
-rw-r--r-- | roles/openshift_logging_eventrouter/templates/eventrouter-template.j2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_logging_eventrouter/templates/eventrouter-template.j2 b/roles/openshift_logging_eventrouter/templates/eventrouter-template.j2 index 9ff4c7e80..ea1fd3efd 100644 --- a/roles/openshift_logging_eventrouter/templates/eventrouter-template.j2 +++ b/roles/openshift_logging_eventrouter/templates/eventrouter-template.j2 @@ -54,9 +54,9 @@ objects: serviceAccount: aggregated-logging-eventrouter serviceAccountName: aggregated-logging-eventrouter {% if node_selector is iterable and node_selector | length > 0 %} - nodeSelector: + nodeSelector: {% for key, value in node_selector.iteritems() %} - {{ key }}: "{{ value }}" + {{ key }}: "{{ value }}" {% endfor %} {% endif %} containers: |