-
Notifications
You must be signed in to change notification settings - Fork 85
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
update: add support for netavark update
command
#503
update: add support for netavark update
command
#503
Conversation
Don't review it yet since it needs #497 otherwise tests will fail. |
b6d191d
to
5ee55ca
Compare
5ee55ca
to
0760e71
Compare
af1168c
to
6b7cdb3
Compare
# get a random port directly to avoid low ports e.g. 53 would not create iptables | ||
dns_port=$((RANDOM+10000)) |
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 is not relevant to the test, just remove it
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.
Did not understand this bit, we are just getting a random port for the test since we are still starting the aardvark.
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.
Did you mean don't pass anything and default to 53
?
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.
yes, but now that I look at it again I think this is fine since we should make sure the changed dns port still works.
Netavark update allows container managers to update network scoped DNS servers of any configured network and notify running `aarvark-dns` about it. ```console netavark-update Updates network dns servers for an already configured network USAGE: netavark update --network-dns-servers <NETWORK_DNS_SERVERS> <NETWORK_NAME> ARGS: <NETWORK_NAME> Network name to update OPTIONS: -h, --help Print help information -n, --network-dns-servers <NETWORK_DNS_SERVERS> DNS Servers to update for the network ``` Signed-off-by: Aditya R <[email protected]>
6b7cdb3
to
0c61f05
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.
LGTM
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: flouthoc, Luap99 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 |
New features in netavark/aardvark allows users to update network dns servers and all the containers attached to those networks uses updated resolvers. Following PR adds support in `libnetwork` to support * Add support for higher level `NetworkUpdate` API * Add support for `Update` exec call which can invoke netavark with a new update option added here: containers/netavark#503 Signed-off-by: Aditya R <[email protected]>
New features in netavark/aardvark allows users to update network dns servers and all the containers attached to those networks uses updated resolvers. Following PR adds support in `libnetwork` to support * Add support for higher level `NetworkUpdate` API * Add support for `Update` exec call which can invoke netavark with a new update option added here: containers/netavark#503 Signed-off-by: Aditya R <[email protected]>
New features in netavark/aardvark allows users to update network dns servers and all the containers attached to those networks uses updated resolvers. Following PR adds support in `libnetwork` to support * Add support for higher level `NetworkUpdate` API * Add support for `Update` exec call which can invoke netavark with a new update option added here: containers/netavark#503 Signed-off-by: Aditya R <[email protected]>
New features in netavark/aardvark allows users to update network dns servers and all the containers attached to those networks uses updated resolvers. Following PR adds support in `libnetwork` to support * Add support for higher level `NetworkUpdate` API * Add support for `Update` exec call which can invoke netavark with a new update option added here: containers/netavark#503 Signed-off-by: Aditya R <[email protected]>
New features in netavark/aardvark allows users to update network dns servers and all the containers attached to those networks uses updated resolvers. Following PR adds support in `libnetwork` to support * Add support for higher level `NetworkUpdate` API * Add support for `Update` exec call which can invoke netavark with a new update option added here: containers/netavark#503 Signed-off-by: Aditya R <[email protected]>
New features in netavark/aardvark allows users to update network dns servers and all the containers attached to those networks uses updated resolvers. Following PR adds support in `libnetwork` to support * Add support for higher level `NetworkUpdate` API * Add support for `Update` exec call which can invoke netavark with a new update option added here: containers/netavark#503 Signed-off-by: Aditya R <[email protected]>
/lgtm |
New features in netavark/aardvark allows users to update network dns servers and all the containers attached to those networks uses updated resolvers. Following PR adds support in `libnetwork` to support * Add support for higher level `NetworkUpdate` API * Add support for `Update` exec call which can invoke netavark with a new update option added here: containers/netavark#503 Signed-off-by: Aditya R <[email protected]>
New features in netavark/aardvark allows users to update network dns servers and all the containers attached to those networks uses updated resolvers. Following PR adds support in `libnetwork` to support * Add support for higher level `NetworkUpdate` API * Add support for `Update` exec call which can invoke netavark with a new update option added here: containers/netavark#503 Signed-off-by: Aditya R <[email protected]>
New features in netavark/aardvark allows users to update network dns servers and all the containers attached to those networks uses updated resolvers. Following PR adds support in `libnetwork` to support * Add support for higher level `NetworkUpdate` API * Add support for `Update` exec call which can invoke netavark with a new update option added here: containers/netavark#503 Signed-off-by: Aditya R <[email protected]>
New features in netavark/aardvark allows users to update network dns servers and all the containers attached to those networks uses updated resolvers. Following PR adds support in `libnetwork` to support * Add support for higher level `NetworkUpdate` API * Add support for `Update` exec call which can invoke netavark with a new update option added here: containers/netavark#503 Signed-off-by: Aditya R <[email protected]>
* 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]>
Netavark update allows container managers to update network scoped DNS servers of any configured network and notify running
aarvark-dns
about it.