From 82ca3b93b84c40fe5431abe28a3becb264ff87d5 Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Mon, 3 Mar 2025 19:48:01 -0600 Subject: [PATCH] chore: simplify BackendTrafficPolicy Signed-off-by: Kevin Carter --- .../base/envoy-endpoint-policies.yaml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/base-kustomize/envoyproxy-gateway/base/envoy-endpoint-policies.yaml b/base-kustomize/envoyproxy-gateway/base/envoy-endpoint-policies.yaml index 50aa3dd0f..a893b89a1 100644 --- a/base-kustomize/envoyproxy-gateway/base/envoy-endpoint-policies.yaml +++ b/base-kustomize/envoyproxy-gateway/base/envoy-endpoint-policies.yaml @@ -70,16 +70,6 @@ spec: - group: gateway.networking.k8s.io kind: HTTPRoute name: internal-loki-gateway-route - loadBalancer: - type: LeastRequest ---- -apiVersion: gateway.envoyproxy.io/v1alpha1 -kind: BackendTrafficPolicy -metadata: - name: source-ip-policy - namespace: envoy-gateway -spec: - targetRefs: - group: gateway.networking.k8s.io kind: HTTPRoute name: grafana-gateway-route @@ -87,6 +77,4 @@ spec: kind: HTTPRoute name: custom-skyline-gateway-route loadBalancer: - type: ConsistentHash - consistentHash: - type: SourceIP + type: LeastRequest