diff --git a/roles/kubernetes-apps/registry/templates/registry-rs.yml.j2 b/roles/kubernetes-apps/registry/templates/registry-rs.yml.j2 index ac6a0dfda..df3bed9d7 100644 --- a/roles/kubernetes-apps/registry/templates/registry-rs.yml.j2 +++ b/roles/kubernetes-apps/registry/templates/registry-rs.yml.j2 @@ -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 %}