platformsh / platformify

Get your project ready to be deployed in Platform.sh
MIT License
3 stars 9 forks source link

Network storage service name must not include underscore characters #184

Closed lolautruche closed 12 months ago

lolautruche commented 1 year ago

Service names are slugified using _ to replace -, which causes an issue with the Network storage service. Indeed, the documentation states that the Network Storage service name must not include underscores. When an underscore is used, the following error is displayed:

E: Error parsing configuration files:
    - services: Uncaught exception: network-storage service requires RFC1123 compliant service name
       at <script>:3:4
              throw("network-storage service requires RFC1123 compliant service name");

It mentions RFC 1123, which is about names for Internet hosts. The service name is used as an NFS host, and it means that it must:

lolautruche commented 1 year ago

Note that names with single - are valid, while -- are not.