-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
Issue
When deploying the created manifest after following the documented commands
kubectl apply -f /tmp/mcp-3t52t5 failes due to incorrect spec.secretRef
The created MCPServer manifest is invalid
invalid
secretRefs:
- kind: Secret
name: yt-kmcp-secrets-staging
namespace: default
valid
secretRefs:
- name: yt-kmcp-secrets-staging
- name: yt-kmcp-env-vars
The command that builds need manifest, I believe needs some tuning to support the correct formating.
Repro
enable staging and populate .env.staging
kmcp secrets sync staging --from-file my-mcp-server/.env.staging --project-dir my-mcp-server
kmcp build --project-dir my-mcp-server -t my-mcp-server:latest --kind-load-cluster kind
kmcp deploy --environment staging --file my-mcp-server/kmcp.yaml --no-inspector --image my-mcp-server:latest
error
Metadata
Metadata
Assignees
Labels
No labels