-
Notifications
You must be signed in to change notification settings - Fork 516
dynamic forward proxy #11197
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
dynamic forward proxy #11197
Conversation
Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com>
Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com>
Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com>
Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com>
Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com>
…rd-proxy Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com>
Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com>
Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com>
Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com>
…rd-proxy Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com>
Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com>
@@ -365,6 +375,11 @@ func (p *backendPlugin) HttpFilters(ctx context.Context, fc ir.FilterChainCommon | |||
} | |||
result = append(result, aiFilters...) | |||
} | |||
if p.needsDfpFilter[fc.FilterChainName] { | |||
pluginStage := plugins.DuringStage(plugins.OutAuthStage) | |||
f, _ := plugins.NewStagedFilter("envoy.filters.http.dynamic_forward_proxy", dfpFilterConfig, pluginStage) |
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.
if we're ignoring the error, should we use MustNewStagedFilter?
api/v1alpha1/backend_types.go
Outdated
// The hostname will be used for SNI and auto SAN validation. | ||
// +optional | ||
// +kubebuilder:validation:Optional | ||
Tls bool `json:"tls,omitempty"` |
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.
maybe rename to useTls or enableTls?
|
||
var _ e2e.NewSuiteFunc = NewTestingSuite | ||
|
||
// testingSuite is a suite of tests for ExtAuth functionality |
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.
// testingSuite is a suite of tests for ExtAuth functionality | |
// testingSuite is a suite of tests for Dynamic Forward Proxy functionality |
}) | ||
} | ||
|
||
// TestExtAuthPolicy tests the basic ExtAuth functionality with header-based allow/deny |
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.
update comment
Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com> Signed-off-by: Jenny Shu <jenny.shu@solo.io>
Description
Add support for dynamic forward proxy.
Fixes #11326
Fixes #11312
Change Type
/kind feature
Changelog
Additional Notes
N/A