Skip to content

Commit 13a0fee

Browse files
committed
add .env.local tmpl to both projects and fix e2e test
Signed-off-by: JM Huibonhoa <jm.huibonhoa@solo.io>
1 parent 67d02dc commit 13a0fee

3 files changed

Lines changed: 20 additions & 2 deletions

File tree

helm/kmcp/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ image:
77
repository: ghcr.io/kagent-dev/kmcp/controller
88
pullPolicy: IfNotPresent
99
# Overrides the image tag whose default is the chart appVersion.
10-
tag: "v0.0.1-test"
10+
tag: "v0.1.0"
1111

1212
# Image pull secrets for private registries
1313
imagePullSecrets: []
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# {{.ProjectName}} Environment Variables
2+
3+
# Example API keys (configure these in kmcp.yaml under tools)
4+
WEATHER_API_KEY=your-weather-api-key-here
5+
DATABASE_URL=postgresql://user:password@localhost:5432/database
6+
OPENAI_API_KEY=your-openai-api-key-here
7+
8+
# Server configuration
9+
MCP_SERVER_HOST=127.0.0.1
10+
MCP_SERVER_PORT=8080
11+
MCP_LOG_LEVEL=INFO
12+
MCP_DEBUG=false
13+
14+
# Tool-specific configuration
15+
WEATHER_TIMEOUT=30
16+
DB_MAX_CONNECTIONS=10
17+
FILE_MAX_SIZE=10485760 # 10MB in bytes

test/e2e/e2e_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,9 @@ var _ = ginkgo.Describe("Manager", ginkgo.Ordered, func() {
181181
ginkgo.By("creating a knowledge-assistant project using kmcp CLI")
182182
cmd = exec.Command(
183183
"dist/kmcp",
184-
"init", projectDir,
184+
"init",
185185
"python",
186+
projectDir,
186187
"--force",
187188
"--namespace",
188189
namespace,

0 commit comments

Comments
 (0)