Repository navigation
🐛 fix preload images option on installer - #432
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes the preload images functionality in the Kagenti installer by addressing compatibility issues with the latest Rancher Desktop VZ virtualization and adding better error handling for image operations.
Key Changes:
- Replaces
kind load docker-imagewith a direct container image import approach usingdocker save,docker cp, andctr images import - Adds explicit docker image pulling with failure reporting before loading into kind
- Updates dependency lock file to add test dependencies and fix urllib3 version constraint
- Updates preloaded container images to newer versions (Istio 1.26.0 → 1.28.0, kindnetd updated)
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| uv.lock | Adds test dependencies (pytest, httpx, etc.), fixes urllib3 version to comply with <2.1.0 constraint, and updates package resolution markers for Python 3.13 |
| deployments/ansible/roles/kagenti_installer/tasks/02_setup_cluster.yaml | Implements new image preloading logic with explicit docker pull, error reporting, and raw container import instead of kind load docker-image |
| deployments/ansible/kind/preload-images.txt | Updates Istio images to version 1.28.0, updates kindnetd version, and removes unused curlimages/curl image |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 5 changed files in this pull request and generated 5 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Paolo Dettori <[email protected]>
…ster.yaml Signed-off-by: Paolo Dettori <[email protected]> Co-authored-by: Copilot <[email protected]>
…ster.yaml Signed-off-by: Paolo Dettori <[email protected]> Co-authored-by: Copilot <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
…ster.yaml Signed-off-by: Paolo Dettori <[email protected]> Co-authored-by: Copilot <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]> Co-authored-by: Copilot <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]> Co-authored-by: Copilot <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
pdettori
force-pushed
the
fix-kind-install
branch
from
December 6, 2025 01:38
5b889c8 to
32e1eee
Compare
5 tasks
huang195
added a commit
that referenced
this pull request
May 23, 2026
Companion to kagenti-extensions PR #432, which replaces the bundled spiffe-helper binary with an in-process go-spiffe SDK integration. The new authbridge image expects two schema changes: * a top-level `spiffe:` block (empty mapping when SPIRE is enabled) that signals the framework to construct the in-process Provider (X.509 source for mTLS + lazy JWT source for tokenexchange); * a per-plugin `tokenexchange.identity.jwt_audience` field carrying the JWT-SVID client-assertion audience (replaces the audience that spiffe-helper previously baked into helper.conf). Updates the two places kagenti emits authbridge config so both Helm- installed and backend-API-created agents render the new shape: * charts/kagenti/templates/{authbridge-template-configmaps, agent-namespaces}.yaml — render the spiffe block + jwt_audience. JWT_AUDIENCE env var (dead code; nothing reads it) dropped from authbridge-config ConfigMap. * kagenti/backend/app/routers/agents.py:_build_authbridge_runtime_yaml and the matching tests — same shape change for backend-rendered ConfigMaps. Adds the optional `jwt_audience` field on the UI's IdentityConfig type so the form/validation surface stays in sync. Backward compatibility with the OLD authbridge image (during rollout): both schema changes are additive — the old image's YAML decoder silently drops unknown keys, so deployments running the old image keep working with the new chart. spiffe-helper-config ConfigMap and the helper.conf rendering are intentionally left in place; they are no-ops against the new image and required by the old one. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Hai Huang <[email protected]>
eranra
pushed a commit
to eranra/kagenti
that referenced
this pull request
May 24, 2026
Companion to kagenti-extensions PR rossoctl#432, which replaces the bundled spiffe-helper binary with an in-process go-spiffe SDK integration. The new authbridge image expects two schema changes: * a top-level `spiffe:` block (empty mapping when SPIRE is enabled) that signals the framework to construct the in-process Provider (X.509 source for mTLS + lazy JWT source for tokenexchange); * a per-plugin `tokenexchange.identity.jwt_audience` field carrying the JWT-SVID client-assertion audience (replaces the audience that spiffe-helper previously baked into helper.conf). Updates the two places kagenti emits authbridge config so both Helm- installed and backend-API-created agents render the new shape: * charts/kagenti/templates/{authbridge-template-configmaps, agent-namespaces}.yaml — render the spiffe block + jwt_audience. JWT_AUDIENCE env var (dead code; nothing reads it) dropped from authbridge-config ConfigMap. * kagenti/backend/app/routers/agents.py:_build_authbridge_runtime_yaml and the matching tests — same shape change for backend-rendered ConfigMaps. Adds the optional `jwt_audience` field on the UI's IdentityConfig type so the form/validation surface stays in sync. Backward compatibility with the OLD authbridge image (during rollout): both schema changes are additive — the old image's YAML decoder silently drops unknown keys, so deployments running the old image keep working with the new chart. spiffe-helper-config ConfigMap and the helper.conf rendering are intentionally left in place; they are no-ops against the new image and required by the old one. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Hai Huang <[email protected]> Signed-off-by: Eran Raichstein <[email protected]>
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
fix preload images option on installer