-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nomad service does not handle globbed namespaces. #18831
Comments
Hi @the-maldridge! I took a quick look at this and it looks like the I've got a PR up in #18836 to fix this. |
The `nomad service info` command doesn't support using a wildcard namespace with a prefix match, the way that we do for many other commands. Update the command to do a prefix match list query for the services before making the get query. Fixes: #18831
Done in #18836 and will ship in the upcoming 1.7 |
Wow that was fast! Thanks for the quick turnaround on this. |
Nomad version
Operating system and Environment details
Void Linux on amd64
Issue
Calling
nomad service info
with the environment variableNOMAD_NAMESPACE
set to*
does not result in the named service being matched at all, even if it is an exact string match.Reproduction steps
Try to get info on a service with the namespace set to the wildcard.
Expected Result
I expect a search to be performed across all namespaces I have access to and match to happen across the services returned from this set, similar to how other commands work cross-namespace.
Actual Result
Nomad reports the service could not be found.
Job file (if appropriate)
N/A
Nomad Server logs (if appropriate)
N/A
Nomad Client logs (if appropriate)
N/A
The text was updated successfully, but these errors were encountered: