Open krassowski opened 7 months ago
As you can see, this was initially implemented as part of that PR, most probably due to testing Keycloaks management clients, and was overlooked when it was merged. Client names, if I am not mistaken, are mutable, so we should be able to rename them without affecting any previous versions.
Describe the bug
The client name for all services is currently hard-coded to
grafana
:https://github.com/nebari-dev/nebari/blob/2f85ece2b00686de99d94695b55e1c7bb9dde642/src/_nebari/stages/kubernetes_services/template/modules/kubernetes/services/keycloak-client/main.tf#L7-L13
Querying the clients list returns a list like:
This was introduced 2 years ago in https://github.com/nebari-dev/nebari/pull/1003.
Expected behavior
Either:
var.client_id
is used if it does not have to hard-coded tografana
grafana
OS and architecture in which you are running Nebari
main
branchHow to Reproduce the problem?
Query keycloak REAST API
/auth/admin/realms/nebari/clients/
endpoint (with appropriate token).Command output
No response
Versions and dependencies used.
No response
Compute environment
None
Integrations
No response
Anything else?
Spotted when working on https://github.com/nebari-dev/nebari/issues/2308