refactor: migrate Home Assistant token retrieval to K-Gateway secret transformation syntax

This commit is contained in:
2026-05-15 11:16:05 +02:00
parent 15fcb9db0e
commit bf95054507
@@ -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
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") {{ " }}" }}'