/keycloak-timoni

A Timoni module designed for the efficient deployment of Keycloak on Kubernetes clusters.

Primary LanguageCUEApache License 2.0Apache-2.0

Keycloak Timoni module

Release timoni.sh kubernetes License

  • Keycloak is an Open Source Identity and Access Management
  • Timoni.sh is an alternative of Helm chart based on CUE

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.