You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 11, 2023. It is now read-only.
feat(injector): add list of ignored network interfaces (#4700)
* feat(injector): add list of ignored network interfaces
This change adds a new configurable list of ignored network interface
names. Traffic received from and sent to those interfaces is not
forwarded to the sidecar container by iptables. When this list is empty
(the default), osm-injector produces the exact same iptables commands as
it did before.
The list is configured in the chart at `osm.networkInterfaceExclusionList`
and in the MeshConfig at `spec.traffic.networkInterfaceExclusionList`.
Fixes#4546
Signed-off-by: Jon Huhn <[email protected]>
* codegen
Signed-off-by: Jon Huhn <[email protected]>
* add comment
Signed-off-by: Jon Huhn <[email protected]>
Co-authored-by: Shashank Ram <[email protected]>
Copy file name to clipboardExpand all lines: charts/osm/README.md
+1
Original file line number
Diff line number
Diff line change
@@ -143,6 +143,7 @@ The following table lists the configurable parameters of the osm chart and their
143
143
| osm.meshName | string |`"osm"`| Identifier for the instance of a service mesh within a cluster |
144
144
| osm.multicluster | object |`{"gatewayLogLevel":"error"}`| OSM multicluster feature configuration |
145
145
| osm.multicluster.gatewayLogLevel | string |`"error"`| Log level for the multicluster gateway |
146
+
| osm.networkInterfaceExclusionList | list |`[]`| Specifies a global list of network interface names to exclude for inbound and outbound traffic interception by the sidecar proxy. |
146
147
| osm.osmBootstrap.podLabels | object |`{}`| OSM bootstrap's pod labels |
147
148
| osm.osmBootstrap.replicaCount | int |`1`| OSM bootstrap's replica count |
Copy file name to clipboardExpand all lines: cmd/osm-bootstrap/crds/config_meshconfig.yaml
+5
Original file line number
Diff line number
Diff line change
@@ -156,6 +156,11 @@ spec:
156
156
type: integer
157
157
minimum: 1
158
158
maximum: 65535
159
+
networkInterfaceExclusionList:
160
+
description: NetworkInterfaceExclusionList defines a global list of network interface names to exclude from inbound and outbound traffic interception by the sidecar proxy.
161
+
type: array
162
+
items:
163
+
type: string
159
164
enablePermissiveTrafficPolicyMode:
160
165
description: True for allowing traffic to flow between client and service pods within the mesh without SMI traffic policies, i.e. no traffic policy enforcement in the mesh. If set to false, enables deny-all traffic policy in mesh i.e. an SMI Traffic Target is necessary for services to communicate.
0 commit comments