diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-10-17 13:19:34 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-17 13:19:34 -0400 |
commit | 940b829df1c1adfbea80237f60dc196d5a5d2856 (patch) | |
tree | f9e3e74f18529436ec82c53932eb373d9c45c4bf | |
parent | 7908efc7b011168a7587ee99b07d1acde0dab69c (diff) | |
parent | 1f766eff01f6016a93fd72ee64cb09a8d54a52f1 (diff) | |
download | openshift-940b829df1c1adfbea80237f60dc196d5a5d2856.tar.gz openshift-940b829df1c1adfbea80237f60dc196d5a5d2856.tar.bz2 openshift-940b829df1c1adfbea80237f60dc196d5a5d2856.tar.xz openshift-940b829df1c1adfbea80237f60dc196d5a5d2856.zip |
Merge pull request #5777 from wozniakjan/eventrouter_bug1501768
Bug 1501768: fix eventrouter nodeSelector padding
-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: |