-
Notifications
You must be signed in to change notification settings - Fork 3.4k
feat(sdp): Hive cmd for standalone dns proxy #39906
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
Conversation
Commit 59d304f does not match "(?m)^Signed-off-by:". Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin |
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.
minor nit, otherwise LGTM
@asauber Friendly ping for review ! Thanks ! |
/test |
/test |
CI investigations:
|
/ci-clustermesh |
/ci-multi-pool |
Ci Investigations: |
@cilium/security Friendly ping for review! Thanks ! |
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.
Changes look good from a security perspective.
We generally expect the git history to be a bit cleaner - there's a few hunks in commits that are unrelated to the changes being made, and the last couple of commits look like they should be part of the original commits introducing the broken changes. Otherwise if we bisect, some specific tests / checks may fail if a bisect lands in the middle of this PR. Mind fixing those up?
- Introduces the standalone dns proxy module - Adds the CODEOWNERS for the standalone dns proxy module Signed-off-by: Vipul Singh <singhvipul@microsoft.com>
Signed-off-by: Vipul Singh <singhvipul@microsoft.com>
28e81ac
to
af17d29
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 thanks!
/test |
|
/ci-eks |
@vipul-21 right, the comment there was talking about how ownership was determined for the test, not the test case itself. We haven't seen this recently as far as I know, perhaps it's just a relatively rare failure. I've reopened the issue for now. |
This pull request introduces a new standalone DNS proxy feature to the Cilium project. Key changes include the addition of a new module for the standalone DNS proxy, updates to configuration management, and the creation of supporting files for the proxy's functionality and testing.
Standalone DNS Proxy Implementation:
StandaloneDNSProxyCell
instandalone-dns-proxy/cmd/root.go
to provide the standalone DNS proxy functionality, including hooks for starting and stopping the proxy based on configuration.StandaloneDNSProxy
struct and its associated methods (StartStandaloneDNSProxy
andStopStandaloneDNSProxy
) instandalone-dns-proxy/cmd/standalonednsproxy.go
. These methods are placeholders for future implementation.standalone-dns-proxy/main.go
. This file initializes the proxy and executes the command.Configuration and Code Refactoring:
defaultConfig
toDefaultConfig
inpkg/fqdn/service/cell.go
to align with Go naming conventions for exported variables.Testing:
standalone-dns-proxy/cmd/standalonednsproxy_test.go
to verify that the standalone DNS proxy module can be populated without errors.Code Ownership:
CODEOWNERS
file to assign ownership of thestandalone-dns-proxy/
directory to the@cilium/proxy
and@cilium/fqdn
teams.Fixes: #30984
CFP: cilium/design-cfps#54