flomesh-io / fsm

Lightweight service mesh for Kubernetes East-West and North-South traffic management, uses ebpf for layer4 and pipy proxy for layer7 traffic management, support multi cluster network.
https://flomesh.io
Apache License 2.0
55 stars 8 forks source link

refactored local dns proxy. #348

Closed cybwan closed 1 week ago

cybwan commented 1 week ago

Description: refactored local dns proxy.

Testing done:

Affected area: Functional Area
New Functionality [X]
CI System [ ]
CLI Tool [ ]
Certificate Management [ ]
Control Plane [ ]
Demo [ ]
Documentation [ ]
Egress [ ]
Ingress [ ]
Install [ ]
Networking [ ]
Observability [ ]
Performance [ ]
SMI Policy [ ]
Security [ ]
Sidecar Injection [ ]
Tests [ ]
Upgrade [ ]
Other [ ]

Please answer the following questions with yes/no.

  1. Does this change contain code from or inspired by another project? no

  2. Is this a breaking change? no

  3. Has documentation corresponding to this change been updated in the fsm-docs repo (if applicable)? no

codecov-commenter commented 1 week ago

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 0.26247% with 380 lines in your changes missing coverage. Please review.

Project coverage is 14.14%. Comparing base (cf56380) to head (bad779f). Report is 118 commits behind head on release/v1.3.

Files with missing lines Patch % Lines
pkg/dns/handler.go 0.00% 143 Missing :warning:
pkg/dns/server.go 0.00% 81 Missing :warning:
pkg/dns/resolver.go 0.00% 46 Missing :warning:
pkg/dns/records.go 0.00% 28 Missing :warning:
pkg/dns/config.go 0.00% 21 Missing :warning:
pkg/sidecar/providers/pipy/repo/jobs.go 0.00% 21 Missing :warning:
pkg/apis/config/v1alpha3/zz_generated.deepcopy.go 0.00% 19 Missing and 1 partial :warning:
...kg/sidecar/providers/pipy/driver/pipy_container.go 0.00% 18 Missing :warning:
cmd/fsm-controller/fsm-controller.go 0.00% 2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## release/v1.3 #348 +/- ## ================================================= - Coverage 46.81% 14.14% -32.68% ================================================= Files 199 772 +573 Lines 15239 52724 +37485 ================================================= + Hits 7134 7456 +322 - Misses 8059 45094 +37035 - Partials 46 174 +128 ``` | [Flag](https://app.codecov.io/gh/flomesh-io/fsm/pull/348/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/flomesh-io/fsm/pull/348/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | `14.14% <0.26%> (-32.68%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.