Browse Source

Merge pull request #9222 from jcantrill/1597282_on_master

bug 1597282. Quote selector to make it valid json
Jeff Cantrill 6 years ago
parent
commit
33d278ada1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      roles/openshift_logging_elasticsearch/templates/pvc.j2

+ 1 - 1
roles/openshift_logging_elasticsearch/templates/pvc.j2

@@ -15,7 +15,7 @@ spec:
   selector:
     matchLabels:
 {% for key,value in pv_selector.items() %}
-      {{key}}: {{value}}
+      {{key}}: "{{value}}"
 {% endfor %}
 {% endif %}
   accessModes: