kiwigrid / keycloak-controller

This controller manages Keycloak clients and realms over Kubernetes resources.
https://hub.docker.com/r/kiwigrid/keycloak-controller
MIT License
35 stars 13 forks source link

Fix defaultClientScopes and optionalClientScopes assignment to Client #45

Closed pravussum closed 3 years ago

pravussum commented 3 years ago

Currently adding/removing defaultClientScopes and optionalClientScopes on the Kubernets client spec has no effect, since the ClientController only manipulates the default/optionalClientScopes lists on the ClientRepresentation and then updates the Keycloak client resource instead of using the dedicated [add|remove][Default|Optional]ClientScope operations of the Keycloak client resource. Same applies for the removal of clientScopes.

axdotl commented 3 years ago

@jekkel Could you pls. take care of this contribution?