浏览代码

Merge pull request #7182 from Tirke/fix-deploy-pvc-definitions-template-error

Automatic merge from submit-queue.

Fix GlusterFS Hosted Registry - Deploy PersistentVolumeClaim definitions failure

Fix by replacing None by lowercase none in pvc template. 

Fixes #7167
OpenShift Merge Robot 7 年之前
父节点
当前提交
dce08e7bf6
共有 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 %}