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
This commit is contained in:
Tommy McCormick
2026-06-19 12:49:26 -04:00
committed by GitHub
parent 9f8475493b
commit bbafda0d37
2 changed files with 3 additions and 4 deletions
+3 -2
View File
@@ -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
-2
View File
@@ -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"