Skip to content
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

Merged
merged 5 commits into from
Aug 16, 2024

Conversation

apollo13
Copy link
Contributor

@tgross How does that look?

Copy link
Member

@tgross tgross left a 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:

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.

command/namespace_status.go Outdated Show resolved Hide resolved
nomad/job_endpoint_validators.go Show resolved Hide resolved
nomad/job_endpoint_validators_test.go Outdated Show resolved Hide resolved
nomad/job_endpoint_validators_test.go Outdated Show resolved Hide resolved
nomad/job_endpoint_validators_test.go Outdated Show resolved Hide resolved
nomad/job_endpoint_validators_test.go Outdated Show resolved Hide resolved
nomad/job_endpoint_validators.go Outdated Show resolved Hide resolved
nomad/job_endpoint_validators_test.go Outdated Show resolved Hide resolved
@apollo13
Copy link
Contributor Author

apollo13 commented Aug 15, 2024

  • Can you run make cl to add a changelog entry

Had one but fixed it up

done

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.

Have fun :)

{
"No drivers enabled/disabled, allow all",
"bridge",
&structs.Namespace{Capabilities: &structs.NamespaceCapabilities{}},
Copy link
Member

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.

Copy link
Member

@tgross tgross left a 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 tgross added the backport/1.8.x backport to 1.8.x release line label Aug 16, 2024
@tgross tgross modified the milestones: 1.8.x, 1.8.4 Aug 16, 2024
@tgross tgross merged commit d6be784 into hashicorp:main Aug 16, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants