basecamp / kamal

Deploy web apps anywhere.
https://kamal-deploy.org
MIT License
9.39k stars 359 forks source link

Allow capital letters to match valid service name, such as in MyApp #770

Closed ttilberg closed 2 months ago

ttilberg commented 2 months ago

Currently if your service name has capital letters, such as in MyApp, it triggers the new ensure_valid_service_name validation error. The error message states alphanumeric characters, but does not allow capital letters.

This change allows capital letters in the service name, such as MyApp.

Fixes #769

ttilberg commented 2 months ago

Alternative to this, if you did in fact intend to disallow capital letters, the error message should be improved. However, I've had an app deployed for some time now called DemandAtlas that has not previously had issues with Traefik.