yyvess / keycloak-timoni

A Timoni module designed for the efficient deployment of Keycloak on Kubernetes clusters.
Apache License 2.0
0 stars 0 forks source link

Keycloak Timoni module

Release timoni.sh kubernetes License

A timoni.sh module for deploying keycloak to Kubernetes clusters.

[!IMPORTANT] Note that module is on beta, any feedback and PR are welcome

Install

To create a minimum instance, create a file my-values.cue with the following content:

values: {
    admin: {
        password: {value: "admin"}
    }
    extraEnvs: [
        {name: "KC_HOSTNAME_STRICT", value: "false"},
        {name: "KC_LOG_LEVEL", value:       "INFO"},
    ]
}

And apply the values with:

timoni -n keycloak apply keycloak oci://ghcr.io/yyvess/keycloak \
--values ./my-values.cue

By default, the server uses the dev-file database on an empty volume! The dev-file database is not suitable for production use-cases, and must be replaced with an others database type on production.

Uninstall

To uninstall an instance and delete all its Kubernetes resources:

timoni -n keycloak delete keycloak

Configuration

Some configuration examples can be found on samples directory.