diff options
Diffstat (limited to 'roles/openshift_persistent_volumes')
-rw-r--r-- | roles/openshift_persistent_volumes/templates/persistent-volume-claim.yml.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_persistent_volumes/templates/persistent-volume-claim.yml.j2 b/roles/openshift_persistent_volumes/templates/persistent-volume-claim.yml.j2 index ca8b747ee..ce155333a 100644 --- a/roles/openshift_persistent_volumes/templates/persistent-volume-claim.yml.j2 +++ b/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 defined and claim.storageclass is not none %} storageClassName: "{{ claim.storageclass }}" {% endif %} {% endfor %} |