You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been looking in the Nomad code but cannot find any validation rules for the name of a namespace.
On another note, the error message for failing to run/plan a job could use some improvements. I had to pull down the source code and do my own debugging to understand that my namespace was truncated on submit.
The text was updated successfully, but these errors were encountered:
johanforssell
changed the title
Parsing of Region and Namespace fails when containing non-word characters.
Parsing 'Region' and 'Namespace' fails when containing non-word characters
Jun 14, 2024
nomad-pack/internal/runner/job/job.go
Lines 250 to 251 in 09ad317
\w+
is used to parse theregion
and thenamespace
. This is inadequate when they contain non-word characters."
-
" is a common non-word character which even shows up in the official documentation of Namespaces.I've been looking in the Nomad code but cannot find any validation rules for the name of a namespace.
On another note, the error message for failing to run/plan a job could use some improvements. I had to pull down the source code and do my own debugging to understand that my namespace was truncated on submit.
The text was updated successfully, but these errors were encountered: