You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After merging #764 (migrate UI from Keycloak master realm to dedicated kagenti realm), local Kind installs fail with "wrong user/password" on the UI login page.
Root Cause
charts/kagenti/values.yaml points to a test image (quay.io/pdettori/ui-oauth-secret:latest) that was built on Jan 9 — before #764 added the realm bootstrap logic. The old image:
Creates the kagenti realm (via register_client)
Creates the OAuth secret with /realms/kagenti endpoints
Never creates the admin user in the kagenti realm
The UI redirects to Keycloak's kagenti realm login, but no user exists there.
Fix
Change the default image from quay.io/pdettori/ui-oauth-secret to ghcr.io/kagenti/kagenti/ui-oauth-secret — consistent with the pattern used by agent-oauth-secret and other images. The ghcr.io image is published from CI and contains the bootstrap code.
CI workflows are unaffected — all four e2e workflows already call 25-build-oauth-secret-image.sh to rebuild from source.
Reproducer
Deploy to Kind: ./.github/scripts/local-setup/kind-full-test.sh --skip-cluster-destroy
Navigate to http://kagenti-ui.localtest.me:8080
Login with admin/admin → fails with "Invalid user credentials"
Activity
fix: use official ghcr.io image for ui-oauth-secret