mirror of
https://github.com/agent-substrate/substrate.git
synced 2026-11-11 10:23:17 +08:00
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:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user