Repository navigation
Conversation
Signed-off-by: Paolo Dettori <[email protected]>
pdettori
marked this pull request as draft
November 4, 2025 13:15
Member
Author
|
closing in favor of #383 |
huang195
added a commit
to huang195/kagenti
that referenced
this pull request
May 8, 2026
…s PR rossoctl#378) v0.5.0-alpha.12 was mistakenly tagged on the pre-PR-rossoctl#378 commit (PR rossoctl#377's merge only), so the image's config loader still parses pipeline.plugins as []string and errors with 'cannot unmarshal !!map into string' on the per-plugin YAML the chart now emits. v0.5.0-alpha.13 points at PR rossoctl#378's merge commit (935251b) and contains the PluginEntry schema the chart relies on. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Hai Huang <[email protected]>
huang195
added a commit
to huang195/kagenti
that referenced
this pull request
May 8, 2026
…l JWKS ## Problem The per-plugin cutover (authbridge PR rossoctl#378) isolated each plugin's config decode, dropping the cross-plugin derivation that previously let `inbound.jwks_url` pick up the INTERNAL Keycloak URL from `outbound.token_url`. The jwt-validation plugin's only remaining fallback was to derive `jwks_url` from its own `issuer` — but `issuer` must be the PUBLIC Keycloak URL to match the `iss` claim on tokens, and in Kind/OpenShift split-horizon deployments that hostname resolves to 127.0.0.1 inside the sidecar pod. Every inbound JWT validation failed "connection refused" fetching JWKS. Observed (CI run 25525390807 weather-tool-advanced envoy-proxy): msg="JWT validation failed" error="fetching JWKS: Get \"http://keycloak.localtest.me:8080/realms/kagenti /protocol/openid-connect/certs\": dial tcp [::1]:8080: connect: connection refused" ## Fix kagenti-extensions#383 added `keycloak_url` + `keycloak_realm` fields to jwt-validation, symmetric with token-exchange. When set, the plugin derives `jwks_url` from the internal URL. kagenti-operator#336 updated `synthesizePipeline` to emit them. This commit passes the same two hints from the chart's `authbridge-runtime-config` template and the backend's `_build_authbridge_runtime_yaml` helper. Pin bumps to match: kagenti-operator: 0.2.0-alpha.35 -> 0.2.0-alpha.36 authbridge sidecars: v0.5.0-alpha.13 -> v0.5.0-alpha.14 Both must bump together: operator alpha.36's synthesize emits the new fields, extensions alpha.14's jwt-validation accepts them. A stale pin on either side would fail DisallowUnknownFields at plugin decode or fall through to issuer-derivation again. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Hai Huang <[email protected]>
3 tasks done
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
A shell script that installs kagenti using the helm charts and works for both kind and OpenShift.