refactor: move PhaseSecret definition and implement dynamic token injection for homeassistant-mcp

This commit is contained in:
2026-05-15 11:09:35 +02:00
parent 90932e1c91
commit 2ad2fb0bb9
2 changed files with 40 additions and 25 deletions
@@ -20,24 +20,3 @@ spec:
phaseAppEnv: production
phaseAppEnvPath: /
phaseHost: https://phase.hnrx.net
---
apiVersion: secrets.phase.dev/v1alpha1
kind: PhaseSecret
metadata:
name: homeassistant-mcp-secret
namespace: agentgateway-system
spec:
authentication:
serviceToken:
serviceTokenSecretReference:
secretName: phase-service-token
secretNamespace: phase-secrets-operator
managedSecretReferences:
- secretName: homeassistant-mcp-secret
secretNamespace: agentgateway-system
secretType: Opaque
phaseApp: homeassistant-mcp-server
phaseAppEnv: production
phaseAppEnvPath: /
phaseHost: https://phase.hnrx.net