From bbafda0d3729465a2faedde2fcd83cceb4553ed0 Mon Sep 17 00:00:00 2001 From: Tommy McCormick <16668493+mccormickt@users.noreply.github.com> Date: Fri, 19 Jun 2026 12:49:26 -0400 Subject: [PATCH] fix(demo): remove ports from sandbox and agent-secret manifests (#274) The `port` and `containerPort` were removed from AgentTemplate in #201. Also adds the `PORT` env var for agent-secret to match sandbox and ensure it is configured explicitly. Fixes #273 - [X] Tests pass - [ ] Appropriate changes to documentation are included in the PR --- demos/agent-secret/agent-secret.yaml.tmpl | 5 +++-- demos/sandbox/sandbox.yaml.tmpl | 2 -- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/demos/agent-secret/agent-secret.yaml.tmpl b/demos/agent-secret/agent-secret.yaml.tmpl index 226f7b864..ac2c9c6a4 100644 --- a/demos/agent-secret/agent-secret.yaml.tmpl +++ b/demos/agent-secret/agent-secret.yaml.tmpl @@ -67,8 +67,9 @@ spec: - name: agent-secret image: ko://github.com/agent-substrate/substrate/demos/agent-secret command: ["/ko-app/agent-secret"] - ports: - - containerPort: 80 + env: + - name: PORT + value: "80" workerSelector: matchLabels: workload: agent-secret diff --git a/demos/sandbox/sandbox.yaml.tmpl b/demos/sandbox/sandbox.yaml.tmpl index 46815e094..b99378a24 100644 --- a/demos/sandbox/sandbox.yaml.tmpl +++ b/demos/sandbox/sandbox.yaml.tmpl @@ -42,8 +42,6 @@ spec: - name: sandbox image: ko://github.com/agent-substrate/substrate/demos/sandbox command: ["/ko-app/sandbox"] - ports: - - containerPort: 80 env: - name: PORT value: "80"