refactor: migrate Home Assistant token retrieval to K-Gateway secret transformation syntax
This commit is contained in:
@@ -73,11 +73,9 @@ metadata:
|
|||||||
name: homeassistant-mcp-transformation
|
name: homeassistant-mcp-transformation
|
||||||
namespace: agentgateway-system
|
namespace: agentgateway-system
|
||||||
spec:
|
spec:
|
||||||
extractedValues:
|
transformation:
|
||||||
homeassistant_token:
|
request:
|
||||||
values:
|
set:
|
||||||
secret:
|
- name: "Authorization"
|
||||||
name: homeassistant-mcp-secret
|
# Diese Inja-Funktion 'secret' ist in K-Gateway/Envoy implementiert
|
||||||
namespace: agentgateway-system
|
value: '{{ "{{ " }} secret("agentgateway-system", "homeassistant-mcp-secret", "AUTHORIZATION_BEARER_TOKEN") {{ " }}" }}'
|
||||||
key: AUTHORIZATION_BEARER_TOKEN
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user