fix registry_storage_class equals empty string

pull/3950/head
elementyang 2018-12-28 14:23:19 +08:00
parent d156449819
commit 532e97c542
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ spec:
protocol: TCP
volumes:
- name: registry-pvc
{% if registry_storage_class != none %}
{% if registry_storage_class != "" %}
persistentVolumeClaim:
claimName: registry-pvc
{% else %}