Skip to content

Conversation

@s10gopal
Copy link

Summary

Replace crane with krane for container registry operations. krane is a drop-in replacement for crane that adds built-in support for cloud workload identity authentication (GKE, EKS), enabling better authentication in cloud environments without requiring additional credential configuration.

Changes

  • python/Dockerfile: Updated package installation from crane to krane
  • python/packages/kagent-adk/src/kagent/adk/skill_fetcher.py:
    • Renamed fetch_using_crane_to_dir() to fetch_using_krane_to_dir()
    • Updated command invocation to use krane instead of crane
    • Updated function documentation and comments

Benefits

  • Automatic authentication with cloud workload identity mechanisms (GKE, EKS)
  • No additional credential configuration required
  • Drop-in replacement maintains existing functionality

Testing

  • Verified Dockerfile builds successfully with krane package
  • Functionality remains unchanged (drop-in replacement)

References

Co-author

Co-authored-by: @sharmagaurav602

@s10gopal s10gopal changed the title Replace crane with krane Replace crane with krane #1222 Jan 23, 2026
@s10gopal s10gopal changed the title Replace crane with krane #1222 Replace crane with krane Jan 23, 2026
@s10gopal s10gopal force-pushed the skill-auth branch 3 times, most recently from 1e24f7b to 217d235 Compare January 23, 2026 06:06
@s10gopal s10gopal changed the title Replace crane with krane Replace crane with krane to support cloud registry auth for skills Jan 23, 2026
yuval-k
yuval-k previously approved these changes Jan 23, 2026
krane is a drop-in replacement for crane with built-in support for
cloud workload identity authentication (GKE, EKS).

Co-authored-by: sharmagaurav602 <sharmagaurav602@users.noreply.github.com>
Signed-off-by: Gopal Sharma <s10gopal@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.

2 participants