-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feat(dest): Allow destination controller to force opaque transport #13699
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,6 +32,8 @@ func Main(args []string) { | |
metricsAddr := cmd.String("metrics-addr", ":9996", "address to serve scrapable metrics on") | ||
kubeConfigPath := cmd.String("kubeconfig", "", "path to kube config") | ||
controllerNamespace := cmd.String("controller-namespace", "linkerd", "namespace in which Linkerd is installed") | ||
forceOpaqueTransport := cmd.Bool("force-opaque-transport", false, | ||
"Force proxies to route all outbound meshed traffic to the proxy's default inbound port") | ||
Comment on lines
+35
to
+36
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We probably want to reframe this a bit as far as the external- (and especially user-) facing interface is concerned. It's not critical to address in the command line flag; though it is probably generally better for the terms to be consistent between the implementation and the helm chart... We could frame this as an "outbound TLS mode", with values of:
in that case, we could call this flag something like |
||
enableH2Upgrade := cmd.Bool("enable-h2-upgrade", true, | ||
"Enable transparently upgraded HTTP2 connections among pods in the service mesh") | ||
enableEndpointSlices := cmd.Bool("enable-endpoint-slices", true, | ||
|
@@ -171,6 +173,7 @@ func Main(args []string) { | |
IdentityTrustDomain: *trustDomain, | ||
ClusterDomain: *clusterDomain, | ||
DefaultOpaquePorts: opaquePorts, | ||
ForceOpaqueTransport: *forceOpaqueTransport, | ||
EnableH2Upgrade: *enableH2Upgrade, | ||
EnableEndpointSlices: *enableEndpointSlices, | ||
EnableIPv6: *enableIPv6, | ||
|
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.
This (and above for external workloads) are the meat and potatoes of this change, with the rest being config wiring.