Browse Source

Merge pull request #3427 from ewolinetz/logging_quote_nodeselector_value

Surrounding node selector values with quotes
Scott Dodson 8 years ago
parent
commit
c0e7beaddd

+ 1 - 1
roles/openshift_logging/templates/curator.j2

@@ -31,7 +31,7 @@ spec:
 {% if curator_node_selector is iterable and curator_node_selector | length > 0 %}
       nodeSelector:
 {% for key, value in curator_node_selector.iteritems() %}
-        {{key}}: {{value}}
+        {{key}}: "{{value}}"
 {% endfor %}
 {% endif %}
       containers:

+ 1 - 1
roles/openshift_logging/templates/es.j2

@@ -33,7 +33,7 @@ spec:
 {% if es_node_selector is iterable and es_node_selector | length > 0 %}
       nodeSelector:
 {% for key, value in es_node_selector.iteritems() %}
-        {{key}}: {{value}}
+        {{key}}: "{{value}}"
 {% endfor %}
 {% endif %}
       containers:

+ 1 - 1
roles/openshift_logging/templates/kibana.j2

@@ -30,7 +30,7 @@ spec:
 {% if kibana_node_selector is iterable and kibana_node_selector | length > 0 %}
       nodeSelector:
 {% for key, value in kibana_node_selector.iteritems() %}
-        {{key}}: {{value}}
+        {{key}}: "{{value}}"
 {% endfor %}
 {% endif %}
       containers: