Skip to content

bug: Deploy from Existing Image does not use supplied Image tag #231

Closed

Description

@esnible

Describe the bug

If the user attempts to Import_New_Tool "Deploy from Existing Image" using the image ghcr.io/kagenti/mcp-gateway/test-server2:latest , the Kagenti UI creates a Pod with the image ghcr.io/kagenti/mcp-gateway/test-server2:v0.0.1 .

When deploying from an existing image, the tag should not be changed.

Related: #230

Steps To Reproduce

Import_New_Tool using "Deploy from Existing Image" using the image ghcr.io/kagenti/mcp-gateway/test-server2:latest

The Kagenti UI creates a Deployment with the image ghcr.io/kagenti/mcp-gateway/test-server2:v0.0.1 , whose Pods get an ImagePullBackOff.

Expected Behavior

The Deployment should use EXACTLY the same image as the user specified, including the tag.
Or the UI should let the user know that the tag will be ignored.

Additional Context

This problem is especially difficult because the repo might not have the image with the :v0.0.1 tag. To get my image started I needed to oc -n team1 edit deployment test-server2 and set imagePullPolicy: IfNotPresent to get the tool running.

No response

Activity

  1. added
    bug
    on Oct 1, 2025
  2. pdettori commented on Oct 1, 2025

    @pdettori
    Member

    I was able to reproduce the problem, it seems it only happens with tools and not with agents.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions