chore: remove redundant RequestHeaderModifier and bind transformation to homeassistant-mcp HTTPRoute
This commit is contained in:
@@ -59,9 +59,6 @@ spec:
|
|||||||
- "*"
|
- "*"
|
||||||
allowOrigins:
|
allowOrigins:
|
||||||
- "*"
|
- "*"
|
||||||
- type: RequestHeaderModifier
|
|
||||||
requestHeaderModifier:
|
|
||||||
set:
|
|
||||||
matches:
|
matches:
|
||||||
- path:
|
- path:
|
||||||
type: PathPrefix
|
type: PathPrefix
|
||||||
@@ -73,6 +70,11 @@ metadata:
|
|||||||
name: homeassistant-mcp-transformation
|
name: homeassistant-mcp-transformation
|
||||||
namespace: agentgateway-system
|
namespace: agentgateway-system
|
||||||
spec:
|
spec:
|
||||||
|
targetRefs:
|
||||||
|
- name: homeassistant-mcp
|
||||||
|
namespace: agentgateway-system
|
||||||
|
group: gateway.networking.k8s.io
|
||||||
|
kind: HTTPRoute
|
||||||
transformation:
|
transformation:
|
||||||
request:
|
request:
|
||||||
set:
|
set:
|
||||||
|
|||||||
Reference in New Issue
Block a user