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

Update AllowToCoreDNS rule to permit udp on port 53 #2605

Merged
merged 2 commits into from
Aug 17, 2021

Conversation

btrieger
Copy link
Contributor

DNS requests are of both UDP and TCP. When testing the AllowToCoreDNS Rule I was running into issues with wget and nslookup not resolving from within a pod by adding in a second port and protocol combo this was resolved. This update should make for it clearer how to expose dns to end users while the old example technically still worked it would not permit all dns traffic.
Signed-off-by: Brian Rieger brieger@vmware.com

Signed-off-by: Brian Rieger <brieger@vmware.com>
Copy link
Contributor

@antoninbas antoninbas left a comment

Choose a reason for hiding this comment

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

Thanks for submitting this. Could you also fix the example in the subsequent section?

Signed-off-by: Brian Rieger <brieger@vmware.com>
@btrieger
Copy link
Contributor Author

@antoninbas done I didn't see the 2nd one initially.

Copy link
Contributor

@antoninbas antoninbas left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov-commenter
Copy link

Codecov Report

Merging #2605 (01f4332) into main (382f49e) will decrease coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2605      +/-   ##
==========================================
- Coverage   42.05%   42.04%   -0.02%     
==========================================
  Files         153      153              
  Lines       18565    18565              
==========================================
- Hits         7807     7805       -2     
+ Misses      10060    10057       -3     
- Partials      698      703       +5     
Flag Coverage Δ
unit-tests 42.04% <ø> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/apiserver/certificate/certificate.go 69.86% <0.00%> (-6.85%) ⬇️
pkg/apiserver/storage/ram/watch.go 84.61% <0.00%> (-3.85%) ⬇️
pkg/agent/openflow/pipeline.go 24.66% <0.00%> (+0.07%) ⬆️
...gent/controller/noderoute/node_route_controller.go 48.54% <0.00%> (+1.29%) ⬆️

@antoninbas
Copy link
Contributor

/skip-all
documentation change

@tnqn tnqn added the kind/documentation Categorizes issue or PR as related to a documentation. label Aug 17, 2021
Copy link
Member

@tnqn tnqn left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

@tnqn tnqn merged commit 7f90fc0 into antrea-io:main Aug 17, 2021
zyiou pushed a commit to zyiou/antrea that referenced this pull request Aug 17, 2021
Signed-off-by: Brian Rieger <brieger@vmware.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/documentation Categorizes issue or PR as related to a documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants