-
Notifications
You must be signed in to change notification settings - Fork 387
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
Conversation
Signed-off-by: Brian Rieger <brieger@vmware.com>
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.
Thanks for submitting this. Could you also fix the example in the subsequent section?
Signed-off-by: Brian Rieger <brieger@vmware.com>
@antoninbas done I didn't see the 2nd one initially. |
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
Codecov Report
@@ 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
Flags with carried forward coverage won't be shown. Click here to find out more.
|
/skip-all |
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, thanks
Signed-off-by: Brian Rieger <brieger@vmware.com>
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