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 protocol: TCP
volumes: volumes:
- name: registry-pvc - name: registry-pvc
{% if registry_storage_class != none %} {% if registry_storage_class != "" %}
persistentVolumeClaim: persistentVolumeClaim:
claimName: registry-pvc claimName: registry-pvc
{% else %} {% else %}