Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

Conversation

@shashankram
Copy link
Member

Description:
Cherry-picks 6664c75 and 9c7a2d9 for v0.9.1,
required to address #3582 with v0.9.

Affected area:

Functional Area
Other [X]

Please answer the following questions with yes/no.

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

    • Did you notify the maintainers and provide attribution?
  2. Is this a breaking change? no

Similar to outbound port exclusions (global and pod
scoped), this change adds support to exclude specified
ports from inbound sidecar redirection.

This is required in certain scenarios when traffic
destined to certain ports should not be proxied
to the sidecar (ex. ports that terminate TLS
connections in the app).

Required for openservicemesh#3582

Signed-off-by: Shashank Ram <[email protected]>
As a part of openservicemesh#3582, specific ingress resources
need to be ignored. This change adds support
for this using the existing `openservicemesh.io/ignore`
label.

Also addresses an unnecessary type export and makes
unusued variable usage explicit.

Signed-off-by: Shashank Ram <[email protected]>
@codecov-commenter
Copy link

Codecov Report

Merging #3623 (ef10fe2) into release-v0.9 (96498ba) will increase coverage by 0.74%.
The diff coverage is 86.04%.

Impacted file tree graph

@@               Coverage Diff                @@
##           release-v0.9    #3623      +/-   ##
================================================
+ Coverage         65.82%   66.57%   +0.74%     
================================================
  Files               169      169              
  Lines              7886     7904      +18     
================================================
+ Hits               5191     5262      +71     
+ Misses             2664     2611      -53     
  Partials             31       31              
Flag Coverage Δ
unittests 66.57% <86.04%> (+0.74%) ⬆️

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

Impacted Files Coverage Δ
pkg/configurator/mock_client_generated.go 0.00% <0.00%> (ø)
cmd/cli/namespace_ignore.go 40.62% <100.00%> (ø)
cmd/cli/namespace_list.go 57.44% <100.00%> (ø)
pkg/configurator/methods.go 69.01% <100.00%> (+0.44%) ⬆️
pkg/ingress/client.go 77.08% <100.00%> (+67.30%) ⬆️
pkg/injector/init_container.go 100.00% <100.00%> (ø)
pkg/injector/iptables.go 100.00% <100.00%> (ø)
pkg/injector/patch.go 77.19% <100.00%> (+0.40%) ⬆️
pkg/injector/webhook.go 79.05% <100.00%> (ø)
pkg/ticker/ticker.go 68.00% <0.00%> (-2.67%) ⬇️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 96498ba...ef10fe2. Read the comment docs.

@shashankram shashankram changed the title Release v0.9 Backport inbound port exclusion and ingress ignore features Jun 18, 2021
@shashankram shashankram marked this pull request as ready for review June 18, 2021 18:39
@shashankram shashankram requested a review from a team as a code owner June 18, 2021 18:39
@shashankram shashankram merged commit 2c0c556 into openservicemesh:release-v0.9 Jun 18, 2021
@shashankram shashankram deleted the release-v0.9 branch June 18, 2021 20:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants