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

libnetwork: ipam driver none disable dns #989

Merged
merged 1 commit into from
Mar 31, 2022

Conversation

Luap99
Copy link
Member

@Luap99 Luap99 commented Mar 30, 2022

When we create a network with the ipam driver none we should disabled
dns automatically. Since we mange no ips we cannot provide name
resolution anyway.

This fixes a problem I spotted when adding test to the podman CI.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 30, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@rhatdan
Copy link
Member

rhatdan commented Mar 30, 2022

LGTM

@Luap99
Copy link
Member Author

Luap99 commented Mar 31, 2022

@mheon @baude PTAL and merge

@baude
Copy link
Member

baude commented Mar 31, 2022

LGTM, one nit.

When we create a network with the ipam driver none we should disabled
dns automatically. Since we mange no ips we cannot provide name
resolution anyway.

This fixes a problem I spotted when adding test to the podman CI.

Signed-off-by: Paul Holzinger <[email protected]>
@baude
Copy link
Member

baude commented Mar 31, 2022

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Mar 31, 2022
@openshift-merge-robot openshift-merge-robot merged commit 3b98384 into containers:main Mar 31, 2022
@Luap99 Luap99 deleted the ipam-none-dns branch March 31, 2022 15:07
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