Skip to content

fix(agentcore-demo): run on any cluster name; own Forge target per cluster - #68

Merged
JLCode-tech merged 1 commit into
stagingfrom
fix/agentcore-demo-portability
Sep 15, 2026
Merged

JLCode-tech merged 1 commit into
stagingfrom
fix/agentcore-demo-portability

Conversation

@JLCode-tech

Copy link
Copy Markdown
Owner

What

  • gateway-deployment.yaml takes the CA ClusterIssuer from state ({{.BNK_CA_ISSUER}}) instead of the Sydney cluster's issuer name, so the TLS certificate issues on a cluster with any name.
  • rebuild.sh, demo.sh and setup-agentcore-network.sh use the Gateway name the manifests fix (bnk-agentcore-demo-gateway) instead of <cluster>-gateway.
  • rebuild.sh merges the cluster's OIDC provider into BNKDemoBedrockTokenShipper's trust policy and keeps the statements of other live clusters, so several demo clusters share the role.
  • Forge target registration: Forge keys target names globally. When the name is already held by another cluster's target, the endpoint is registered as <name>-<cluster> instead of silently reusing the other cluster's target.

Verified

agent-core-singapore (ap-southeast-1): k apply --config renders agent-core-singapore-ca-cluster-issuer, certificate Ready; forge scan --register-targets created target 7 mcp-default-mcp-financial-route-agent-core-singapore on cluster 21, where it previously returned Sydney's target 5. Trust-merge snippet checked in a python:3.11 container (stale provider dropped, live one kept, new one added).

🤖 Generated with Claude Code

…uster

- gateway-deployment.yaml takes the CA ClusterIssuer from state
  ({{.BNK_CA_ISSUER}}) instead of the Sydney cluster's name, so the TLS
  certificate issues on a cluster with another name
- the scripts use the Gateway name the manifests fix
  (bnk-agentcore-demo-gateway) instead of <cluster>-gateway
- rebuild.sh merges this cluster's OIDC provider into the shipper role's
  trust policy and keeps the other live clusters' statements
- forge target registration: when Forge already holds the target name for
  another cluster (names are global in Forge), register this cluster's
  endpoint as <name>-<cluster> instead of silently reusing the other
  cluster's target

Verified on agent-core-singapore: certificate Ready with the rendered
issuer; forge scan --register-targets created target 7
mcp-default-mcp-financial-route-agent-core-singapore on cluster 21 where
it previously returned Sydney's target 5.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@JLCode-tech
JLCode-tech merged commit 76d6cb1 into staging Sep 15, 2026
13 checks passed
@JLCode-tech
JLCode-tech deleted the fix/agentcore-demo-portability branch September 15, 2026 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant