From bf95054507b34b7b94efaa6dc99586002700442a Mon Sep 17 00:00:00 2001 From: Matthias Hinrichs Date: Fri, 15 May 2026 11:16:05 +0200 Subject: [PATCH] refactor: migrate Home Assistant token retrieval to K-Gateway secret transformation syntax --- 05-mcp-servers/templates/homeassistant-mcp.yaml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/05-mcp-servers/templates/homeassistant-mcp.yaml b/05-mcp-servers/templates/homeassistant-mcp.yaml index 8967312..7228e23 100644 --- a/05-mcp-servers/templates/homeassistant-mcp.yaml +++ b/05-mcp-servers/templates/homeassistant-mcp.yaml @@ -73,11 +73,9 @@ metadata: name: homeassistant-mcp-transformation namespace: agentgateway-system spec: - extractedValues: - homeassistant_token: - values: - secret: - name: homeassistant-mcp-secret - namespace: agentgateway-system - key: AUTHORIZATION_BEARER_TOKEN - \ No newline at end of file + transformation: + request: + set: + - name: "Authorization" + # Diese Inja-Funktion 'secret' ist in K-Gateway/Envoy implementiert + value: '{{ "{{ " }} secret("agentgateway-system", "homeassistant-mcp-secret", "AUTHORIZATION_BEARER_TOKEN") {{ " }}" }}'