summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging/templates/curator.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openshift_logging/templates/curator.j2')
-rw-r--r--roles/openshift_logging/templates/curator.j26
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"