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
{{ message }}
Repository navigation
Duplicated Keycloak credentials across namespaces #159
These credentials are used for different purposes.
global-environments is used during initial installation to create the kagenti client in Keycloak, extract the client secret, and save it as a Kubernetes secret named kagenti-ui-oauth-secret in the kagenti-system namespace so that Kagenti can have user authentication with Keycloak
environments is used whenever a new agent or tool is imported to create a respective client in Keycloak
The question is, is it possible to use the same set of credentials instead of duplicating them?
Possible solutions
With dynamic client registration, it might be possible to get rid of the environments configMap as the agent/tool pod can talk directly to Keycloak without credentials.
It might be possible to get rid of the global-environments configMap by programmatically creating the kagenti client in Keycloak instead of using a job.
It might be possible to get rid of the global-environments configMap by programmatically creating the kagenti client in Keycloak instead of using a job.
Would this be part of the init container code for each new agent/tool?
Activity
pdettori commentedon Aug 29, 2025
Would this be part of the init container code for each new agent/tool?
Alan-Cha commentedon Dec 15, 2025
Related to #106
rubambiza commentedon Jan 6, 2026
@mrsabath Need to document how to create custom namespaces and validate that credentials are being properly created.
mrsabath commentedon Jan 29, 2026
This will be resolved when we complete the following feature: rossoctl/cortex#85
Alan-Cha commentedon Feb 3, 2026
I think this issue is nearly the same as #106. I will close this for now
Remove AgentBuild CRD references, replace with Shipwright
Remove AgentBuild CRD references, replace with Shipwright