Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions internal/gatewayapi/securitypolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -1152,6 +1152,7 @@ func (t *Translator) buildExtAuth(
switch {
case http != nil:
protocol = ir.HTTP
backendSettings = http.BackendSettings
switch {
case len(http.BackendRefs) > 0:
backendRefs = http.BackendCluster.BackendRefs
Expand All @@ -1167,6 +1168,7 @@ func (t *Translator) buildExtAuth(
}
case grpc != nil:
protocol = ir.GRPC
backendSettings = grpc.BackendSettings
switch {
case len(grpc.BackendCluster.BackendRefs) > 0:
backendRefs = grpc.BackendRefs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,10 @@ xdsIR:
weight: 1
path: ""
name: securitypolicy/envoy-gateway/policy-for-gateway-1
traffic:
dns:
dnsRefreshRate: 30s
lookupFamily: IPv4Preferred
traffic:
dns:
dnsRefreshRate: 5s
Expand Down Expand Up @@ -480,6 +484,10 @@ xdsIR:
weight: 1
path: ""
name: securitypolicy/envoy-gateway/policy-for-gateway-1
traffic:
dns:
dnsRefreshRate: 30s
lookupFamily: IPv4Preferred
traffic:
dns:
dnsRefreshRate: 5s
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,3 +169,9 @@ securityPolicies:
headersToBackend:
- header1
- header2
backendSettings:
circuitBreaker:
maxConnections: 30001
maxParallelRequests: 1022
maxParallelRetries: 1023
maxPendingRequests: 1024
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,12 @@ securityPolicies:
- name: http-backend
namespace: envoy-gateway
port: 80
backendSettings:
circuitBreaker:
maxConnections: 30001
maxParallelRequests: 1022
maxParallelRetries: 1023
maxPendingRequests: 1024
headersToBackend:
- header1
- header2
Expand Down Expand Up @@ -358,6 +364,12 @@ xdsIR:
- header2
path: /auth
name: securitypolicy/default/policy-for-gateway-1
traffic:
circuitBreaker:
maxConnections: 30001
maxParallelRequests: 1022
maxParallelRetries: 1023
maxPendingRequests: 1024
readyListener:
address: 0.0.0.0
ipFamily: IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,12 @@ http:
extAuth:
name: securitypolicy/default/policy-for-gateway-1
failOpen: true
traffic:
circuitBreaker:
maxConnections: 30001
maxParallelRequests: 1022
maxParallelRetries: 1023
maxPendingRequests: 1024
http:
authority: primary.foo.com
destination:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@
initialStreamWindowSize: 65536
- circuitBreakers:
thresholds:
- maxRetries: 1024
- maxConnections: 30001
maxPendingRequests: 1024
maxRequests: 1022
maxRetries: 1023
commonLbConfig:
localityWeightedLbConfig: {}
connectTimeout: 10s
Expand Down
2 changes: 1 addition & 1 deletion release-notes/current.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ new features: |
Added support for HorizontalPodAutoscaler to helm chart

bug fixes: |

Fix traffic splitting when filters are attached to the backendRef.
Added support for Secret and ConfigMap parsing in Standalone mode.
Bypass overload manager for stats and ready listeners
Fix translating backendSettings for extAuth

# Enhancements that improve performance.
performance improvements: |
Expand Down