h3mmy / bloopySphere

My home cluster.
MIT License
61 stars 6 forks source link

Keycloak Reborn? #1341

Open h3mmy opened 2 years ago

h3mmy commented 2 years ago

Details

Describe the solution you'd like:

Keycloak is something I miss. It's very versatile and is able to do various things declaratively that I have been unable to accomplish with authentik.

Keycloak is going to be way way easier to setup and configure as they shift to the quarkus framework. See Keycloak Operator Guides

Anything else you would like to add:

Other Auth providers to consider:

Additional Information:

h3mmy commented 1 year ago

Todo remaining for canary realm

h3mmy commented 1 year ago

Next major step is some cert management for signing certificates (PKI). May end up lingering until I re-do the vault TF

h3mmy commented 1 year ago

Another contender: https://github.com/lldap/lldap

h3mmy commented 1 year ago

Progress Check-in. Keycloak (Quarkus) is deployed to the cluster. Teardown and Restore work as expected. Backups are made. Backup restoration works as expected. Grafana dashboards aren't fully in place yet but that's not part of this issue.

Remaining items: [] Implement LDAP backend [] Define User Model declaratively (experimental) [] Expose metrics for Prometheus

h3mmy commented 1 year ago

Nixing lldap. Did not allow user creation via keycloak

h3mmy commented 1 year ago

Looping lldap back in because of https://github.com/lldap/lldap/issues/301

Basically if that is done, it will fill my use-case and I won't have to go over-engineer a freeIPA instance to get simple federation.

h3mmy commented 1 year ago

Remaining tasks: [] 2-way ldap federation [] Shifting userbase from authentik into keycloak transparently to users (not part of this issue)

My testing for solutions to the grafana-operator migration (#4108) and emqx refactor (#2769) kind of tie in significantly here as keycloak will be the auth controller. I feel it would probably be a good idea to prioritize #4775 since that should provide a framework for identity management

h3mmy commented 7 months ago

https://www.keycloak.org/operator/customizing-keycloak For theming, will need to build a custom image and have build time params there instead of the keycloak instance >_<

So to have a theme:

This is confirmed in https://github.com/keycloak/keycloak/issues/19772