Skip to content

Conversation

@sahitya-chandra
Copy link
Contributor

fixes #1058

This PR adds full support for configuring the image registry used by local kagent build, kagent run, and kagent deploy commands.
Previously, the registry was hardcoded to localhost:5001.

Core changes

  • Introduced --registry flag for CLI overrides
  • Added registry to ~/.kagent/config.yaml with viper defaults + env binding (KAGENT_REGISTRY)
  • Updated ConstructImageName and MCP server image builder to accept registry
  • Ensured CLI load order: flag > env > config.yaml > default

…mmands

Signed-off-by: Sahitya Chandra <sahityajb@gmail.com>
Signed-off-by: Sahitya Chandra <sahityajb@gmail.com>
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.

Local dev commands (kagent init/run/build/deploy) should be configurable with a registry

1 participant