Repository navigation
❇️ : Add image pull secret input field for deploying from existing images - #371
Merged
Merged
Conversation
esnible
reviewed
Oct 31, 2025
|
|
||
| Args: | ||
| build_from_source: Boolean indicating if building from source | ||
| registry_config: Registry configuration dict (used when build_from_source=True) |
Member
There was a problem hiding this comment.
If the user is deploying a container image (no build_from_source), they may also need to credentials secret. For example, if the image is us.icr.io/research3/snible/mcp-everything:v0.0.1 I need to use a secret.
Contributor
Author
esnible
reviewed
Oct 31, 2025
| repo_secret_name = st_object.text_input( | ||
| "Image Pull Secret Name (optional, leave empty for public images)", | ||
| key=f"{resource_type.lower()}_repo_secret", | ||
| help="Name of the Kubernetes secret containing credentials for private Docker registries", |
Member
There was a problem hiding this comment.
Suggested change
| help="Name of the Kubernetes secret containing credentials for private Docker registries", | |
| help="Name of the Kubernetes secret containing credentials for private container registries", |
Contributor
Author
There was a problem hiding this comment.
This PR depends on changes in the platform-operator Component CR API. There is a related PR rossoctl/operator#124 which should be merged first.
Contributor
Author
There was a problem hiding this comment.
I've addressed the "Docker" issues mentioned above in a new commit.
added 2 commits
October 31, 2025 17:44
Signed-off-by: Jarek Cwiklik <[email protected]>
Signed-off-by: Jarek Cwiklik <[email protected]>
cwiklik
force-pushed
the
support-remote-registry
branch
from
October 31, 2025 21:45
34b0ac0 to
e23d6eb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
This PR adds a new input field to the Kagenti UI that allows users to specify a custom image pull secret name when deploying Agents or MCP Servers from existing container images. The specified secret name is then added to the Component CR's
imagePullSecretsfield.Example Component CR output:
Motivation
Previously, users could only specify image pull secrets when building from source via
registry_config. This PR extends that capability to deployments from existing images, allowing users to:Related issue(s)
Depends on: rossoctl/operator#124
Fixes #370