Skip to content

Agent Mesh

fix(k8s): redirect openclaw postStart hook output to avoid blocking container startup

Antonio Ojea3e62d70623bc
diff --git a/.github/k8s/sam-node-openclaw-template.yaml b/.github/k8s/sam-node-openclaw-template.yaml
index 80a19f31..2f02ce32 100644
--- a/.github/k8s/sam-node-openclaw-template.yaml
+++ b/.github/k8s/sam-node-openclaw-template.yaml
@@ -71,7 +71,7 @@ spec:
done
# Directly add the cron job to force operator.admin auto-approval on the first connection
openclaw cron add --name mesh-health-check --every 5m --token "${OPENCLAW_GATEWAY_TOKEN}" --best-effort-deliver --no-deliver --message "Use the get_mesh_info tool to check the mesh connection status and log the output." || true
- ) &
+ ) >/dev/null 2>&1 </dev/null &
env:
- name: SAM_MCP_URL
value: "http://127.0.0.1:8080/mcp/events"