Browse Source

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 năm trước cách đây
mục cha
commit
dce08e7bf6

+ 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 %}