浏览代码

Fix pvc template by replacing None by lowercase none

Thomas Schersach 7 年之前
父节点
当前提交
5c393c4cc5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      roles/openshift_persistent_volumes/templates/persistent-volume-claim.yml.j2

+ 1 - 1
roles/openshift_persistent_volumes/templates/persistent-volume-claim.yml.j2

@@ -12,7 +12,7 @@ items:
     resources:
       requests:
         storage: "{{ claim.capacity }}"
-{% if claim.storageclass is not None %}
+{% if claim.storageclass is not none %}
     storageClassName: "{{ claim.storageclass }}"
 {% endif %}
 {% endfor %}