Closed nickhammond closed 7 months ago
@nickhammond - I'm seeing this warning now, I guess we want to reverse the order of the -
and _
?
.../kamal/lib/kamal/configuration.rb:291: warning: character class has '-' without escape: /^[a-z0-9-_]+$/
@djmb Fixed in #708, sorry about that.
Including dots in your service name is going to cause issues with traefik and initial Kamal setup.
This PR adds a simple regex to validate that the service name is alphanumeric and can include hyphens
/^[a-z0-9-]+$/
.Feels a bit like overkill but just trying to ease everyone's first impression of Kamal to make it easier to get up and running.
Closes #671.