summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-02-20 13:36:38 -0500
committerGitHub <noreply@github.com>2017-02-20 13:36:38 -0500
commitc0e7beaddd461f64fcbbd9395dc4ed8a1e7dbb04 (patch)
tree6d1cd7659a877611c0cd590a2d141f33de382406
parenta0247365e7464627715e53ec1e89af579fda74ac (diff)
parent124f5b9d40f66bc9ffd2789efc6d49e94890502c (diff)
downloadopenshift-c0e7beaddd461f64fcbbd9395dc4ed8a1e7dbb04.tar.gz
openshift-c0e7beaddd461f64fcbbd9395dc4ed8a1e7dbb04.tar.bz2
openshift-c0e7beaddd461f64fcbbd9395dc4ed8a1e7dbb04.tar.xz
openshift-c0e7beaddd461f64fcbbd9395dc4ed8a1e7dbb04.zip
Merge pull request #3427 from ewolinetz/logging_quote_nodeselector_value
Surrounding node selector values with quotes
-rw-r--r--roles/openshift_logging/templates/curator.j22
-rw-r--r--roles/openshift_logging/templates/es.j22
-rw-r--r--roles/openshift_logging/templates/kibana.j22
3 files changed, 3 insertions, 3 deletions
diff --git a/roles/openshift_logging/templates/curator.j2 b/roles/openshift_logging/templates/curator.j2
index b7bc15b62..55f4976ec 100644
--- a/roles/openshift_logging/templates/curator.j2
+++ b/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:
diff --git a/roles/openshift_logging/templates/es.j2 b/roles/openshift_logging/templates/es.j2
index ec84c6b76..81ae070be 100644
--- a/roles/openshift_logging/templates/es.j2
+++ b/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:
diff --git a/roles/openshift_logging/templates/kibana.j2 b/roles/openshift_logging/templates/kibana.j2
index be9b45ab4..e6ecf82ff 100644
--- a/roles/openshift_logging/templates/kibana.j2
+++ b/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: