diff options
author | Jeff Cantrill <jcantril@redhat.com> | 2017-01-24 17:39:07 -0500 |
---|---|---|
committer | Jeff Cantrill <jcantril@redhat.com> | 2017-01-24 17:39:59 -0500 |
commit | d86bf1c52ca9e92679f6ad3ab4cc1315f067ff26 (patch) | |
tree | 46a8f0454290a4e155d8a5cad544eed642bedb31 /roles/openshift_logging/templates/curator.j2 | |
parent | 60808d88521ada44948632825cadb7e9752c6d97 (diff) | |
download | openshift-d86bf1c52ca9e92679f6ad3ab4cc1315f067ff26.tar.gz openshift-d86bf1c52ca9e92679f6ad3ab4cc1315f067ff26.tar.bz2 openshift-d86bf1c52ca9e92679f6ad3ab4cc1315f067ff26.tar.xz openshift-d86bf1c52ca9e92679f6ad3ab4cc1315f067ff26.zip |
allow openshift_logging role to specify nodeSelectors
Diffstat (limited to 'roles/openshift_logging/templates/curator.j2')
-rw-r--r-- | roles/openshift_logging/templates/curator.j2 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/openshift_logging/templates/curator.j2 b/roles/openshift_logging/templates/curator.j2 index d3b5d33a2..de6258eaa 100644 --- a/roles/openshift_logging/templates/curator.j2 +++ b/roles/openshift_logging/templates/curator.j2 @@ -28,6 +28,12 @@ spec: spec: terminationGracePeriod: 600 serviceAccountName: aggregated-logging-curator +{% if curator_node_selector is iterable and curator_node_selector | length > 0 %} + nodeSelector: +{% for key, value in curator_node_selector.iteritems() %} + {{key}}: {{value}} +{% endfor %} +{% endif %} containers: - name: "curator" |