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

Conversation

keithmattix
Copy link
Contributor

Fixes #4653. Allows customers to choose how their traffic gets proxied

Signed-off-by: Keith Mattix II keithmattix2@gmail.com

Description:

Testing done:
Unit and E2E tests

Affected area:

Functional Area
New Functionality [X]
Control Plane [X]
Install [X]
Networking [X ]
Sidecar Injection [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? no
  2. Is this a breaking change? no

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

Fixes openservicemesh#4653. Allows customers to choose how their traffic gets proxied

Signed-off-by: Keith Mattix II <keithmattix2@gmail.com>
Signed-off-by: Keith Mattix II <keithmattix2@gmail.com>
@codecov-commenter
Copy link

codecov-commenter commented Apr 27, 2022

Codecov Report

Merging #4701 (e849c68) into main (f922b5c) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #4701      +/-   ##
==========================================
- Coverage   69.48%   69.47%   -0.02%     
==========================================
  Files         217      217              
  Lines       15495    15524      +29     
==========================================
+ Hits        10767    10785      +18     
- Misses       4678     4689      +11     
  Partials       50       50              
Flag Coverage Δ
unittests 69.47% <100.00%> (-0.02%) ⬇️

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

Impacted Files Coverage Δ
pkg/injector/init_container.go 100.00% <100.00%> (ø)
pkg/injector/iptables.go 100.00% <100.00%> (ø)
pkg/messaging/workqueue.go 89.28% <0.00%> (-10.72%) ⬇️
cmd/osm-bootstrap/osm-bootstrap.go 43.39% <0.00%> (-0.61%) ⬇️

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 f922b5c...e849c68. Read the comment docs.

Signed-off-by: Keith Mattix II <keithmattix2@gmail.com>
@keithmattix keithmattix force-pushed the feature/podip-localProxyMode branch from f2641c1 to 04d36c0 Compare April 27, 2022 22:18
Signed-off-by: Keith Mattix II <keithmattix2@gmail.com>
@keithmattix keithmattix requested a review from shashankram April 28, 2022 17:57
Signed-off-by: Keith Mattix II <keithmattix2@gmail.com>
@keithmattix keithmattix force-pushed the feature/podip-localProxyMode branch from 30e4b0a to 2de59eb Compare April 28, 2022 17:58
Signed-off-by: Keith Mattix II <keithmattix2@gmail.com>
@keithmattix keithmattix force-pushed the feature/podip-localProxyMode branch from 82fe4d4 to c334d83 Compare April 28, 2022 19:27
Signed-off-by: Keith Mattix II <keithmattix2@gmail.com>
@nojnhuh nojnhuh merged commit 0ad92c9 into openservicemesh:main Apr 28, 2022
@keithmattix keithmattix deleted the feature/podip-localProxyMode branch April 28, 2022 21:20
keithmattix added a commit to keithmattix/osm that referenced this pull request May 3, 2022
…cemesh#4701)

* pkg/injector: Enable podIP proxying via meshconfig setting

Fixes openservicemesh#4653. Allows customers to choose how their traffic gets proxied

Signed-off-by: Keith Mattix II <keithmattix2@gmail.com>

* Fix linting and test errors

Signed-off-by: Keith Mattix II <keithmattix2@gmail.com>

* Inject pod_ip into initcontainer

Signed-off-by: Keith Mattix II <keithmattix2@gmail.com>

* Fix port in pod command

Signed-off-by: Keith Mattix II <keithmattix2@gmail.com>

* Reduce leaky abstraction by not passing configurator to generateIPTables

Signed-off-by: Keith Mattix II <keithmattix2@gmail.com>

* Use iptables -I to make the rules dynamic

Signed-off-by: Keith Mattix II <keithmattix2@gmail.com>

* Fix array append

Signed-off-by: Keith Mattix II <keithmattix2@gmail.com>
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.

(*bug) Envoy connections fail if app container binds to eth0
4 participants