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

aardvark, netavark: support network scoped dns via network_dns_servers #497

Merged

Conversation

flouthoc
Copy link
Collaborator

Aardvark and podman supports network_dns_servers which allows aardvark to configure a resolver at network level and all containers attached to a network honors this resolver.

Needs: containers/aardvark-dns#252

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 21, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: flouthoc

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@flouthoc
Copy link
Collaborator Author

Tests are expected to fail without containers/aardvark-dns#252

flouthoc added a commit to flouthoc/common that referenced this pull request Nov 21, 2022
libnetwork must allow to pass network_dns_servers so aardvark and
netavark can consume it and enabled network scoped dns.

Feature implemented at netavark and aardvark end
* Netavark: containers/netavark#497

Signed-off-by: Aditya R <[email protected]>
flouthoc added a commit to flouthoc/common that referenced this pull request Nov 21, 2022
libnetwork must allow to pass network_dns_servers so aardvark and
netavark can consume it and enabled network scoped dns.

Feature implemented at netavark and aardvark end
* Netavark: containers/netavark#497

Signed-off-by: Aditya R <[email protected]>
flouthoc added a commit to flouthoc/common that referenced this pull request Nov 21, 2022
libnetwork must allow to pass network_dns_servers so aardvark and
netavark can consume it and enabled network scoped dns.

Feature implemented at netavark and aardvark end
* Netavark: containers/netavark#497

Signed-off-by: Aditya R <[email protected]>
flouthoc added a commit to flouthoc/common that referenced this pull request Nov 21, 2022
libnetwork must allow to pass network_dns_servers so aardvark and
netavark can consume it and enabled network scoped dns.

Feature implemented at netavark and aardvark end
* Netavark: containers/netavark#497

Signed-off-by: Aditya R <[email protected]>
flouthoc added a commit to flouthoc/common that referenced this pull request Nov 21, 2022
libnetwork must allow to pass network_dns_servers so aardvark and
netavark can consume it and enabled network scoped dns.

Feature implemented at netavark and aardvark end
* Netavark: containers/netavark#497

Signed-off-by: Aditya R <[email protected]>
@flouthoc flouthoc force-pushed the network-scoped-dns-netavark branch 2 times, most recently from 42b5872 to c8a49e6 Compare November 23, 2022 15:57
@flouthoc
Copy link
Collaborator Author

@Luap99 @mheon @baude PTAL

@flouthoc flouthoc requested review from baude, Luap99 and mheon November 23, 2022 17:07
Copy link
Member

@Luap99 Luap99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just one small nit

Aardvark and podman supports `network_dns_servers` which allows aardvark
to configure a resolver at network level and all containers attached to
a network honors this resolver.

Needs: containers/aardvark-dns#252

Signed-off-by: Aditya R <[email protected]>
@flouthoc
Copy link
Collaborator Author

@baude @mheon @Luap99 PTAL need this for #503

@mheon
Copy link
Member

mheon commented Nov 28, 2022

/lgtm

flouthoc added a commit to flouthoc/podman that referenced this pull request Jan 12, 2023
* Add support for `podman network update <>`

```console
network update

Description:
  update networks for containers and pods

Usage:
  podman network update [options] NAME

Examples:
  podman network update podman1

Options:
      --dns-add stringArray      add network level nameservers
      --dns-drop stringArray   remove network level nameservers
```

* Add support for `--network-dns-server` to `podman network create`

Extends podman to support recently added features in `netavark` and
`aardvark-dns`

* containers/netavark#497
* containers/aardvark-dns#252
* containers/netavark#503

[NO NEW TESTS NEEDED]
[NO TESTS NEEDED]

Signed-off-by: Aditya R <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants