Skip to content

fix(observability): Grafana sign-in button says Toolkit Manager - #193

Closed
Mushtaq-BGA wants to merge 1 commit into
release-2.0from
fix/grafana-signin-name
Closed

Mushtaq-BGA wants to merge 1 commit into
release-2.0from
fix/grafana-signin-name

Conversation

@Mushtaq-BGA

Copy link
Copy Markdown
Contributor

Grafana's login form offered Sign in with Keycloak, the only place in the platform UIs that named the identity provider instead of the product. Grafana OSS cannot change its own logo, page title or footer (white-labelling is a Grafana Enterprise feature), so the button is the branding we control.

Change

  • roles/observability/defaults/main.yaml: new observability_grafana_sso_name (default "Toolkit Manager"), used as auth.generic_oauth.name. The Helm and OpenShift (Grafana CR) installs both read _obs_grafana_ini_sso, so both get it.
  • Docs (observability, Headlamp, troubleshooting) and the validate-task comment: Sign in with Toolkit Manager.

Nothing else changes: same OAuth client, realm, scopes and role mapping.

Tests

  • ansible-lint (CI skip list) on roles/observability: passes.
  • Live on a single-node cluster (kube-prometheus-stack 85.3.3): upgraded with only this value changed; /login now lists generic_oauth as "name":"Toolkit Manager", and /login/generic_oauth through the gateway still redirects (302) to the Keycloak platform realm with PKCE.

Companion: Inference Toolkit PR renaming the vLLM dashboard (intel/inference-toolkit#100).

The login form offered "Sign in with Keycloak". The label is now
observability_grafana_sso_name (default "Toolkit Manager"), on both stacks.

Signed-off-by: Ahmed, Mushtaq <mushtaq.ahmed@intel.com>
@Mushtaq-BGA
Mushtaq-BGA requested review from a team November 30, 2026 11:13
@Mushtaq-BGA

Copy link
Copy Markdown
Contributor Author

Closing: keeping the Keycloak label on Grafana's sign-in button.

@Mushtaq-BGA
Mushtaq-BGA deleted the fix/grafana-signin-name branch November 30, 2026 11:16
@sys-aibot

sys-aibot commented Nov 30, 2026 •

Copy link
Copy Markdown

Claude finished @Mushtaq-BGA's task in 28s —— View job


Verdict: needs changes

  1. Configurable value that never changes (rule 1, rule 2): roles/observability/defaults/main.yaml:66. observability_grafana_sso_name is a new knob, but nothing in the PR needs it to vary: no environment overrides it and the goal is one fixed product name. Hardcode it at roles/observability/defaults/main.yaml:75 (name: Toolkit Manager), delete the variable and its comment (:65), and remove the "(set the label with observability_grafana_sso_name)" note at docs/configuration/observability.md:26-27. That gives the smallest correct change. Fix this →
  2. Docs not fully updated (rule 6): docs/configuration/observability.md:49. The settings table still says "false removes the Keycloak button". If you keep the variable, it also needs a row in that table (observability_grafana_sso_name | Toolkit Manager | button label), because that table is where the role's other Grafana SSO settings are documented. Fix this →
  3. Comment restates the code (rule 4): roles/observability/defaults/main.yaml:65. "Button label: Grafana shows 'Sign in with '" adds nothing beyond the variable name and value. Item 1 removes it anyway.

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.

2 participants