Преглед на файлове

Surrounding node selector values with quotes

ewolinetz преди 8 години
родител
ревизия
124f5b9d40
променени са 3 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 1 1
      roles/openshift_logging/templates/curator.j2
  2. 1 1
      roles/openshift_logging/templates/es.j2
  3. 1 1
      roles/openshift_logging/templates/kibana.j2

+ 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: