Skip to content

Agent Mesh

fix non working template

Antonio Ojeacfdb26ee0a47
diff --git a/.github/k8s/sam-node-template.yaml b/.github/k8s/sam-node-template.yaml
index ff47374e..18094ca4 100644
--- a/.github/k8s/sam-node-template.yaml
+++ b/.github/k8s/sam-node-template.yaml
@@ -16,11 +16,6 @@ data:
description: "Canary HTTP tool (k8s agnhost)"
# agnhost netexec responds with request info on the root path
target_url: "http://localhost:9090/"
- - type: mcp
- name: dummy-stdio
- description: "Canary Stdio tool via injected busybox"
- # We call the injected busybox binary explicitly
- command: ["/shared/busybox", "sh", "-c", "while read line; do echo '{\"jsonrpc\": \"2.0\", \"id\": 1, \"result\": {\"status\": \"canary-alive\"}}'; done"]
---
apiVersion: v1
kind: ServiceAccount
@@ -44,17 +39,7 @@ spec:
app: sam-canary-${ENV_NAME}
spec:
serviceAccountName: sam-node-sa
- # 1. The Init Container: Copies busybox to the shared volume
- initContainers:
- - name: inject-busybox
- image: busybox:1.36.1
- command: ["cp", "/bin/busybox", "/shared/busybox"]
- volumeMounts:
- - name: shared-bin
- mountPath: /shared
-
containers:
- # 2. The SAM Agent (Distroless)
- name: sam-node
image: ghcr.io/google/sam-node:${IMAGE_TAG}
args:
@@ -80,15 +65,12 @@ spec:
- name: sam-token
mountPath: /var/run/secrets/tokens
readOnly: true
-
- # 3. The Dummy MCP Backend Sidecar
- name: mock-mcp-server
image: registry.k8s.io/e2e-test-images/agnhost:2.39
# agnhost's netexec subcommand spins up a robust test HTTP server
args: ["netexec", "--http-port=9090"]
ports:
- containerPort: 9090
-
volumes:
- name: config-volume
configMap: