-
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
Tie allowed network modes to namespace capabilities. #23813
Conversation
f004c02
to
a71617d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great @apollo13! I've left some minor comments. We'll also need:
- Can you run
make cl
to add a changelog entry - Can you update the namespace specification docs as well? https://developer.hashicorp.com/nomad/docs/other-specifications/namespace
Just a heads up that I'm going to be out on vacation starting next week until September. I'll make sure someone else on the team has their eyes on this PR. But at worst I'll pick it back up and that'll be in time for Nomad 1.8.4.
Co-authored-by: Tim Gross <[email protected]>
Had one but fixed it up
done
Have fun :) |
{ | ||
"No drivers enabled/disabled, allow all", | ||
"bridge", | ||
&structs.Namespace{Capabilities: &structs.NamespaceCapabilities{}}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added this test case just for thoroughness.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Once CI is done I'll get this merged.
@tgross How does that look?