Skip to content

fix: use official ghcr.io image for ui-oauth-secret - #834

Merged
pdettori merged 1 commit into
mainfrom
fix/ui-oauth-secret-image
Mar 4, 2026
Merged

pdettori merged 1 commit into
mainfrom
fix/ui-oauth-secret-image

Conversation

@pdettori

@pdettori pdettori commented Mar 4, 2026

Copy link
Copy Markdown
Member

Summary

  • Replaces test image quay.io/pdettori/ui-oauth-secret with ghcr.io/kagenti/kagenti/ui-oauth-secret in charts/kagenti/values.yaml
  • Fixes UI login failure on Kind installs after feat: migrate UI from Keycloak master realm to dedicated kagenti realm #764 (realm bootstrap code missing from old test image)
  • Aligns with the naming convention used by agent-oauth-secret and other platform images

Root Cause

The test image was built before #764 added the realm bootstrap logic. On Kind install, the old image created the kagenti realm and OAuth secret but never created the admin user — causing "Invalid user credentials" on login.

Test plan

  • Deploy to Kind: ./.github/scripts/local-setup/kind-full-test.sh --skip-cluster-destroy
  • Login at http://kagenti-ui.localtest.me:8080 with admin/admin succeeds
  • CI e2e-kind workflows pass (they rebuild from source via 25-build-oauth-secret-image.sh)

Closes #833

🤖 Generated with Claude Code

The values.yaml pointed to a test image (quay.io/pdettori/ui-oauth-secret)
built before PR #764 added realm bootstrap logic. This caused UI login
failures on Kind installs because no admin user was created in the kagenti
realm.

Switch to ghcr.io/kagenti/kagenti/ui-oauth-secret, consistent with
agent-oauth-secret and other images.

Closes #833

Co-Authored-By: Claude Opus 4.6 <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>

@mrsabath mrsabath left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pdettori
pdettori merged commit fb9b41e into main Mar 4, 2026
15 checks passed
@pdettori
pdettori deleted the fix/ui-oauth-secret-image branch March 19, 2026 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

UI login fails after PR #764: ui-oauth-secret image missing realm bootstrap code

2 participants