浏览代码

Merge pull request #9222 from jcantrill/1597282_on_master

bug 1597282. Quote selector to make it valid json
Jeff Cantrill 6 年之前
父节点
当前提交
33d278ada1
共有 1 个文件被更改,包括 1 次插入1 次删除
  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: