fix registry_storage_class equals empty string

This commit is contained in:
elementyang 2018-12-28 14:23:19 +08:00
parent d156449819
commit 532e97c542

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