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

Backport of cni: add DNS set by CNI plugins to task configuration into release/1.7.x #20014

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

hc-github-team-nomad-core
Copy link
Contributor

Backport

This PR is auto-generated from #20007 to be assessed for backporting due to the inclusion of the label backport/1.7.x.

The below text is copied from the body of the original PR.


CNI plugins may set DNS configuration, but this isn't threaded through to the task configuration so that we can write it to the /etc/resolv.conf file as needed. Add the AllocNetworkStatus to the alloc hook resources so they're accessible from the taskrunner, which will prepend the DNS entries to any entries provided by the user.

Fixes: #11102, which I bumped up against while working on #10628


Overview of commits

@tgross tgross merged commit fd73243 into release/1.7.x Feb 20, 2024
21 checks passed
@tgross tgross deleted the backport/b-cni-dns/cheaply-neat-joey branch February 20, 2024 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants