Skip to content

fix: use agent name as the CRD resource name#283

Open
optimus-fulcria wants to merge 1 commit intoagentregistry-dev:mainfrom
optimus-fulcria:fix/agent-crd-name-257
Open

fix: use agent name as the CRD resource name#283
optimus-fulcria wants to merge 1 commit intoagentregistry-dev:mainfrom
optimus-fulcria:fix/agent-crd-name-257

Conversation

@optimus-fulcria
Copy link
Contributor

@optimus-fulcria optimus-fulcria commented Mar 6, 2026

Description

CRD resource names now use just the agent name (e.g. testagent) instead of appending version and deployment UUID (e.g. testagent-0-1-0-145ed1b4-...). Same change applied to RemoteMCPServer, MCPServer, and ConfigMap resource names. Deployment IDs remain tracked via labels and annotations for lifecycle management. Removed unused nameWithDeploymentID helper.

Fixes #257

Change Type

/kind fix

Changelog

Fixed Kubernetes CRD resource names to use the agent name directly instead of appending version and deployment UUID.

Additional Notes

  • All kagent translator tests pass with updated expectations
  • Deployment ID metadata still present in labels/annotations for lifecycle management

@peterj
Copy link
Contributor

peterj commented Mar 6, 2026

please update the PR template

@optimus-fulcria
Copy link
Contributor Author

Updated PR description to match the repo template.

@github-actions
Copy link

github-actions bot commented Mar 6, 2026

You already have 3 pull requests open. Please consider working on getting the existing ones merged before opening new ones. Thanks!

@peterj
Copy link
Contributor

peterj commented Mar 8, 2026

plrease resolve conflicts

@github-actions
Copy link

You already have 3 pull requests open. Please consider working on getting the existing ones merged before opening new ones. Thanks!

Previously, Agent CRD names included the version and deployment UUID,
producing unwieldy names like testagent-0-1-0-145ed1b4-f01f-...

Now the CRD resource name is derived solely from the agent name (e.g.
"testagent"). Deployment IDs are still tracked via labels and
annotations for lifecycle management.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link

You already have 3 pull requests open. Please consider working on getting the existing ones merged before opening new ones. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

use the agent name as the name of the Agent CRD

2 participants