Skip to content

docs: reconcile stale keycloak-admin-secret comment in deployments/envs/secret_values.yaml.example #2210

Closed

Description

@mrsabath

Summary

deployments/envs/secret_values.yaml.example (lines ~39–43) still documents the old
keycloak-admin-secret / agent-namespace model that PR #1680 established is no longer how
the operator works:

      keycloak:
        # Keycloak admin credentials for agent namespace secrets (keycloak-admin-secret).
        # Used by the AuthBridge client-registration sidecar. Override for production.
        adminUsername: admin
        adminPassword: admin

Why this is stale

Verified against the current charts and a live Kind cluster (during PR #1680 testing):

  • The operator's client-registration controller reads the keycloak-initial-admin
    secret from the keycloak namespace (keys username / password), configured via
    keycloak.adminSecretName / keycloak.namespace.
  • There is no keycloak-admin-secret created in agent namespaces — on a fresh install
    kubectl get secret keycloak-admin-secret -n kagenti-system returns NotFound.
  • The chart exposes no keycloak.adminUsername / keycloak.adminPassword values either.

So this example file's comment (and the framing that these creds are "for agent namespace
secrets… used by the AuthBridge client-registration sidecar") contradicts the corrected
docs/install.md in #1680.

Requested fix

Reconcile the example so it matches reality — either:

  1. Update the comment/keys to reflect keycloak-initial-admin in the keycloak namespace
    with adminSecretName / adminUsernameKey / adminPasswordKey; or
  2. If these example values feed a genuinely different path (e.g. a legacy sidecar contract
    distinct from the operator path), document that distinction explicitly so the "invented
    values" framing in docs(authbridge): trim demos.md and fix token/deploy guidance #1680 isn't contradicted by a file still in the tree.

Context

Assisted-By: Claude Code

Activity

  1. mrsabath commented on Jul 15, 2026

    @mrsabath
    MemberAuthor

    Handled directly in PR #1680 — the stale keycloak: block was removed from deployments/envs/secret_values.yaml.example (commit 03b5953) rather than tracked as a separate follow-up. Closing as superseded.

  2. added this to the Release v0.7.0 milestone on Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions