Skip to content

🌱 [WIP] single installer shell script - #378

Closed
pdettori wants to merge 1 commit into
rossoctl:mainfrom
pdettori:install-script
Closed

pdettori wants to merge 1 commit into
rossoctl:mainfrom
pdettori:install-script

Conversation

@pdettori

@pdettori pdettori commented Nov 4, 2025

Copy link
Copy Markdown
Member

Summary

A shell script that installs kagenti using the helm charts and works for both kind and OpenShift.

Signed-off-by: Paolo Dettori <[email protected]>
@pdettori
pdettori marked this pull request as draft November 4, 2025 13:15
@pdettori pdettori changed the title 🌱 [WIP} single installer shell script 🌱 [WIP] single installer shell script Nov 4, 2025
@pdettori

Copy link
Copy Markdown
Member Author

closing in favor of #383

@pdettori pdettori closed this Nov 11, 2025
@pdettori
pdettori deleted the install-script branch April 23, 2026 19:50
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]>
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.

1 participant